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

Konrad Windszus edited comment on DOXIA-740 at 9/17/24 2:41 PM:
----------------------------------------------------------------

This is only an issue if {{emitAnchorsForIndexableEntries}} is set to {{true}} 
on the underlying parser. If it is set to {{false}} the sink events are 
properly emitted. I added a failing test case in 
https://github.com/apache/maven-doxia/pull/228. The culprit is somewhere in 
https://github.com/apache/maven-doxia/blob/master/doxia-core/src/main/java/org/apache/maven/doxia/index/IndexingSink.java.
 This probably is a regression of DOXIA-722.


was (Author: kwin):
This is only an issue if {{emitAnchorsForIndexableEntries}} is set to {{true}} 
on the underlying parser. If it is set to {{false}} the sink events are 
properly emitted. I added a failing test case in 
https://github.com/apache/maven-doxia/pull/228. The culprit is somewhere in 
https://github.com/apache/maven-doxia/blob/master/doxia-core/src/main/java/org/apache/maven/doxia/index/IndexingSink.java.

> Rendering Markdown silently truncates files that skip a heading level
> ---------------------------------------------------------------------
>
>                 Key: DOXIA-740
>                 URL: https://issues.apache.org/jira/browse/DOXIA-740
>             Project: Maven Doxia
>          Issue Type: Bug
>          Components: Module - Markdown
>            Reporter: John Dimeo
>            Assignee: Konrad Windszus
>            Priority: Major
>
> I am using a fork of the latest Doxia site tools because I am testing my 
> performance fix, so it's possible this is related to my fork, but I don't 
> _think_ so...
> If your Markdown skips a heading level i.e.
> {noformat}
> # Heading 1
> Text
> ### Heading 3
> Text 2{noformat}
> Then the rendered HTML only contains Heading 1 and Text. This is a major 
> regression compared to past versions, so I must be missing something. Thank 
> you.
>  



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

Reply via email to