Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments inside comments in a nowiki-tag does not render properly #15

Open
erik-alm opened this issue Jul 14, 2022 · 1 comment
Open

Comments

@erik-alm
Copy link

The following code does not work:

This is some text.

/* <nowiki>

This is no-wikied and commented-out text

/* This is a comment in a no wiki comment */

</nowiki> */

Results in the following:

This is some text.

</nowiki> */ 

I expected:

This is some text.
@Klap-in
Copy link
Member

Klap-in commented Aug 9, 2022

This is a design choice, should /* */ have always priority above <nowiki> or not?

<nowiki>(=unformatted) has a sort value of 170.

The comment plugin has a sort value of 321. The lowest sort value goes first.
(see also https://www.dokuwiki.org/devel:parser:getsort_list and https://www.dokuwiki.org/devel:syntax_plugins#sort_number)

Another case where the comment syntax was recognized later then the syntax of the wrap plugin is here: selfthinker/dokuwiki_plugin_wrap#227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants