Open kp-org opened 6 years ago
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.
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.
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.