[ 
https://jira.nuxeo.org/browse/NXP-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=73572#action_73572
 ] 

Sean Radford commented on NXP-4981:
-----------------------------------

Looks like it is the AntiSamy HtmlSanitizer that is the issue.

The 'default' sanitizer (normally the only one in the system) is configured to 
sanitizer the field webp:content (Web Page Content) and this strips out CR/LFs. 
The field data is then stored incorrectly and so the WIKI renderer does not 
render the page how it was designed.

I know that the webp:content field is populated via both the WIKI and RichText 
editor. I totally understand that the sanitization is needed for the RichText 
editor, but is it for the WIKI? 

If webp:isRichtext is false, should the sanitizer not sanitize the field, or 
should another Policy be used?

Give me guidance, and I'll fix it....

> Websites: MarkItUp Wiki editor doesn't format titles, lists, and carriage 
> returns
> ---------------------------------------------------------------------------------
>
>                 Key: NXP-4981
>                 URL: https://jira.nuxeo.org/browse/NXP-4981
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>            Reporter: Lise Kemen
>         Attachments: rendered_list.png, try_to_make_a_list.png
>
>
> You can only add a paragraphe-like text, with bold and italic features.
> See screenshots.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to