https://bugzilla.wikimedia.org/show_bug.cgi?id=8997


Philipp Spitzer <philipp.spit...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipp.spit...@gmx.at




--- Comment #14 from Philipp Spitzer <philipp.spit...@gmx.at>  2008-12-21 
15:49:59 UTC ---
A note about the workaround (replace output with marker in the parser hook -
back-replace by content in the ParserAfterTidy) as described in
http://www.mediawiki.org/wiki/Manual:Tag_extensions#How_can_I_avoid_modification_of_my_extension.27s_HTML_output.3F
causes the final content to be wrapped with <p>. This causes the final output
to fail the HTML validation in case the parser hook produces output that is not
allowed inside <p>, e.g. <noscript> or <div>.
I did not find a way to prevent this.

Maybe a parameter would be needed where a tag extension can "tell" Mediawiki
whether it returns inline or block elements? (or have I overlooked something in
the documentation?) Otherwise I cannot find a way how to prevent Mediawiki to
place the output in <p>s?


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to