Hi everyone,
When transforming the wiki syntax below to an XDOM and rendering it to wiki syntax again, I notice a new line is inserted:
Input
(% class="myclass" %)
Lorem ipsum
Output
(% class="myclass" %)
Lorem ipsum
Then, applying a new transformation to the output keeps adding a new line. I understand the additional new line is inserted to distinguish between the empty paragraph from the next one, but the consequence is that the output’s XDOM is different from the input one. Am I right this means empty parametrized paragraphs are not supported (even if the first rendering will look ok, the XDOM will be altered when refactoring the content eg on backlink renaming) and that a group is always needed when there’s a need to parametrize an empty block? Hence using (% class="myclass" %)((()))
instead?