Open tjameswhite opened 3 years ago
@adobe export issue to Jira Project SITES as Bug
:white_check_mark: Jira issue SITES-898 is successfully created for this GitHub issue.
This seems to happen because of how AntiSamy is configured by default in AEM, specifically the useXHTML
option which is set to true
. Setting this to false
makes the empty textarea
render correctly.
Bug Report
Current Behavior Using Core Embed HTML option:
<textarea name="name" rows="10" cols="40"></textarea>
Expected behavior/code Expected to render an empty
textarea
. See normal-textarea.jpg screen shot.Environment
Java(TM) SE Runtime Environment (build 1.8.0_152-b16)
): build 1.8.0_121-b13)(build 1.8.0_121-b13Additional context / Screenshots Issue was reported by @anireddy on the AEM-Tech development Slack channel. (https://aem-tech.slack.com/archives/C3F6CM48Y/p1621455300006600) If the
<textarea>
is not empty it renders correctly. But if empty the error occurs. So while the above breaks this works:<textarea name="name" rows="10" cols="40">@nbsp;</textarea>
Additionally, once the component breaks, it is not authorable.
Author:
View as Pub:
Expected: