You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you use a browser's inspect tool, you'll see every tab content of a plugin-info view begins with nested <p>. The outer <p> can be removed by adding extra blank line after each <$transclude> in $:/core/ui/PluginInfo:
There is a problem in the paragraph detection of the parser. Usually the rule is: If there are 2 new-lines there should be a P tag. In this case it's the other way around. Which clearly shows that there is problem in the detection logic.
I did dig it down.
see: #7061 The draft PR contains a lot of files, but only the 1st core/modules/parsers/wikiparser/wikiparser.js contains a possible fix.
The others are reminders, which tiddlers may be affected by the parser change.
Usually the rule is: If there are 2 new-lines there should be a P tag. In this case it's the other way around. Which clearly shows that there is problem in the detection logic.
I think the outer p tag stems from the <$transclude> tag being treated as an inline element when it is not followed by a blank line (two line breaks), as described in TW5 doc:
To get the content of an HTML element (including widgets) to be parsed in block mode, the opening tag must be followed by two linebreaks.
If you use a browser's inspect tool, you'll see every tab content of a plugin-info view begins with nested
<p>
. The outer<p>
can be removed by adding extra blank line after each<$transclude>
in$:/core/ui/PluginInfo
:The text was updated successfully, but these errors were encountered: