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

tags in abstract line with <blog list> #127

Open
kp-org opened this issue Oct 2, 2018 · 2 comments
Open

tags in abstract line with <blog list> #127

kp-org opened this issue Oct 2, 2018 · 2 comments

Comments

@kp-org
Copy link

kp-org commented Oct 2, 2018

The 'abstract' 'line doesn't parse all tags added by (syntax) plugins correctly. Example bbcode plugin:

[m]something[/m] was written .... --> doesn't work (tags will be displayed)
''something" was written ... --> is parsed correctly, the "abstract" line doesn't show tags

Unfortunately bbcode's [color] tag is removed correct, so it seems that not all tags are effected. Additional entries in entities.(local.)conf will not be parsed and removed.

Happens with actual Greebo and .

@Klap-in
Copy link
Member

Klap-in commented Feb 16, 2023

the abstract is about 250 characters. It is stored using the metadata render, not xhtml renderer. Plugins should just use (indirectly) the $renderer->cdata() method for the text. https://github.com/splitbrain/dokuwiki/blob/master/inc/parser/metadata.php

Not yet looked in detail, but I guess this would something that can be improved from the bbcode plugin.

@kp-org
Copy link
Author

kp-org commented Jul 27, 2023

This is not limited to one or more plugins. Even entities will not be parsed correctly, as mentioned above at least user defined entities. I think it would be ok then the (syntax) tags will be removed in the abstract line without being rendered. However, I don't know the details in the code.

The abstract line also starts with the first header line, which is duplicate to the listed blog entry header. Maybe these belongs to the parsing issue.

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