There is 1 update.
 
 
XWiki Rendering / cid:jira-generated-image-avatar-2cba279f-a619-469a-988d-5734e69884c7 XRENDERING-775 Open

Parenthesis before attributes not escaped

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-853ed537-d1df-4194-b651-590f6a6e658e Changes by Vincent Massol on 04/Mar/25 17:02
 
Description: When converting the given HTML 5.0 example to XWiki 2.1 using the rendering API,
the last parenthesis of the text {{if ((}} before attributes given with {{(% ... %)}} is not escaped with {{{}~{}}}, therefore the rendered XWiki 2.1 will be flawed.
Also, the second parametrization is missing the style part.
h3. HTML 5.0

{
{ noformat}
<span style="font-size: 12pt; font-family: Courier New, Courier New_MSFontService, monospace;">if ((</span><span style="font-size: 12pt; font-family: Courier New, Courier New_MSFontService, monospace;"><span class="SpellingError">depth_in_cm</span></span>
{noformat
} }

h3. Converted XWiki 2.1

{
{ noformat}
(% style="font-size: 12pt; font-family: Courier New, Courier New_MSFontService, monospace;" %)if (((% class="SpellingError" %)depth_in_cm
{noformat
} }