When attribute text contains a single quote, like "It’s a nice day" that single quote when rendered is escaped to "It's a nice day". Why is that happening and can it be prevented? Is twig doing that escaping?
it says:
"The attribute keys and values are automatically escaped for output with Html::escape()."
and also:
"The attribute values are considered plain text and are treated as such. If a safe HTML string is detected, it is converted to plain text with PlainTextOutput::renderFromHtml() before being escaped."
Neither of those should do that conversion.