[ https://issues.apache.org/jira/browse/DOXIA-747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17887385#comment-17887385 ]
Michael Osipov commented on DOXIA-747: -------------------------------------- OK, then this makes sense. A documented {{IllegalStateException}} would be imperative. > MarkdownSink: Section headings must be located at the beginning of a line > ------------------------------------------------------------------------- > > Key: DOXIA-747 > URL: https://issues.apache.org/jira/browse/DOXIA-747 > Project: Maven Doxia > Issue Type: Bug > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > > If currently a {{Sink.comment()}} is followed by a {{Sink.sectionTitle(...)}} > with some text it is not emitted on a dedicated line through the > {{MarkdownSink}}/ > However according to https://spec.commonmark.org/0.31.2/#atx-headings > {quote} The opening # character may be preceded by up to three spaces of > indentation {quote} -- This message was sent by Atlassian Jira (v8.20.10#820010)