Last modified: 2014-11-19 20:45:48 UTC
If I paste the short example from [[mw:Extension:Score]]: <score vorbis="1">\relative c' { f d f a d f e d cis a cis e a g f e }</score> into a Flow post, save, and then re-edit that post, then it shows all of this in the edit-area: <score vorbis="1">\relative c' { f d f a d f e d cis a cis e a g f e }</score> <span></span><div class="mediaContainer" style="position:relative;display:block;width:300px"><audio id="mwe_player_0" style="width:300px" poster="//bits.wikimedia.org/static-1.25wmf6/resources/assets/file-type-icons/fileicon-ogg.png" controls="" preload="none" class="kskin" data-durationhint="11.600453514739" data-disablecontrols="options,timedText"><source src="//upload.wikimedia.org/score/j/q/jqn99bwy8777srpv45hxjoiu24f0636/jqn99bwy.ogg" type="audio/ogg; codecs="vorbis""></source>Sorry, your browser either has JavaScript disabled or does not have any supported player.<br> You can [//upload.wikimedia.org/score/j/q/jqn99bwy8777srpv45hxjoiu24f0636/jqn99bwy.ogg download the clip] or [https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TimedMediaHandler/Client_download download a player] to play the clip in your browser.</audio></div> None of that new content should be there.
Do you actually see the raw HTML (i.e. do you actually see the text <span> in the normal view), or is is rendered?
(In reply to Matthew Flaschen from comment #1) > Do you actually see the raw HTML (i.e. do you actually see the text <span> > in the normal view), or is is rendered? It looks normal after the first save. But if I re-save it, then everything breaks. test posts (and one unrelated File: test) at: https://www.mediawiki.org/wiki/Topic:S3s627my4r0vumio#flow-post-s5fhw7x6j7xsbrkv
Created attachment 17108 [details] HTML in the wikitext edit box Thanks. I see what you mean now. Basically, it's not back-converted to wikitext properly. That means that what should be wikitext in the edit box includes HTML. When this is resaved, it gives predictably nonsensical results (e.g. treating the HTML5 source tag as the SyntaxHighlight Geshi source tag).
Created attachment 17109 [details] When bogus wikitext is resaved result is wrong
I tested with http://parsoid-lb.eqiad.wikimedia.org/ (the round-trip form is down, but I could do wikitext -> HTML and HTML -> wikitext), and it works. So the error seems to be on our side.