[jira] [Commented] (SLING-10050) Adding HTML5 Serializer

2021-01-12 Thread Dan Klco (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-10050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263664#comment-17263664
 ] 

Dan Klco commented on SLING-10050:
--

Good point [~olli], I can't imagine there's not another library out there for 
encoding characters to HTML. 

> Adding HTML5 Serializer
> ---
>
> Key: SLING-10050
> URL: https://issues.apache.org/jira/browse/SLING-10050
> Project: Sling
>  Issue Type: Improvement
>Affects Versions: Rewriter 1.2.2
>Reporter: Dan Klco
>Assignee: Dan Klco
>Priority: Major
> Fix For: Rewriter 1.2.4
>
>
> Currently the Rewriter supports HTML 4 with the 
> [HTMLSerializer](https://github.com/apache/sling-org-apache-sling-rewriter/blob/master/src/main/java/org/apache/sling/rewriter/impl/components/HtmlSerializerFactory.java)
>  and XHTML, but not HTML5. 
> Since HTML5 is hardly new, it would make sense to support a HTML5 serializer 
> for producing HTML5-compatible markup.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (SLING-10050) Adding HTML5 Serializer

2021-01-12 Thread Oliver Lietz (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-10050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263650#comment-17263650
 ] 

Oliver Lietz commented on SLING-10050:
--

[~dklco], Is there a chance to replaceĀ {{cocoon-serializers-charsets}} by a 
newer library which is still maintained? Also the dependency is now no longer 
optional.

> Adding HTML5 Serializer
> ---
>
> Key: SLING-10050
> URL: https://issues.apache.org/jira/browse/SLING-10050
> Project: Sling
>  Issue Type: Improvement
>Affects Versions: Rewriter 1.2.2
>Reporter: Dan Klco
>Assignee: Dan Klco
>Priority: Major
> Fix For: Rewriter 1.2.4
>
>
> Currently the Rewriter supports HTML 4 with the 
> [HTMLSerializer](https://github.com/apache/sling-org-apache-sling-rewriter/blob/master/src/main/java/org/apache/sling/rewriter/impl/components/HtmlSerializerFactory.java)
>  and XHTML, but not HTML5. 
> Since HTML5 is hardly new, it would make sense to support a HTML5 serializer 
> for producing HTML5-compatible markup.  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)