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

Konrad Windszus edited comment on DOXIA-758 at 11/4/24 8:46 PM:
----------------------------------------------------------------

-Only leading comments (i.e. ones preceeding the first title when no front 
matter exists) are always stripped.-

Update: Actually comments were never stripped from Markdown, not even in 1.x, 
compare with 
https://github.com/apache/jackrabbit-filevault/edit/master/src/site/markdown/authorizables.md
 and https://jackrabbit.apache.org/filevault/authorizables.html. You see the 
license header comments there as well.


was (Author: kwin):
-Only leading comments (i.e. ones preceeding the first title when no front 
matter exists) are always stripped.-

Seems that doxia-sitetools under some circumstances omits leading comments, 
compare with https://jackrabbit.apache.org/filevault/authorizables.html and 
https://github.com/apache/jackrabbit-filevault/edit/master/src/site/markdown/authorizables.md

> MarkdownParser ignores emitComments flag
> ----------------------------------------
>
>                 Key: DOXIA-758
>                 URL: https://issues.apache.org/jira/browse/DOXIA-758
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Markdown
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>
> The markdown parser ignores the {{emitComments}} flag, i.e. (HTML) comments 
> are just emitted as is.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to