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

       Web browser: ---
            Bug ID: 60332
           Summary: Visual editor syntaxhighlight preview shows text HTML
                    encoded
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: jforres...@wikimedia.org
          Reporter: zfili...@wikimedia.org
                CC: jforres...@wikimedia.org, jh...@wikimedia.org,
                    krinklem...@gmail.com, ryasm...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Steps to reproduce:

- create a simple page with just this text: <syntaxhighlight
lang="xml">></syntaxhighlight>
- example page: https://test2.wikipedia.org/wiki/Codez
- when the page is saved, only this is displayed, as expected: >

- edit the page with visual editor
- edit the text using syntaxhighlight editor
- for example, add just this: <
- see attached screen shot #1

- use "back" icon to see how the text will look like
- I was expecting to see this as page text: ><
- instead, the preview says page text is: &gt;&lt;
- see attached screen shot #2

- when the page is saved, the text is displayed correctly: ><
- see attached screen shot #3

-- 
You are receiving this mail because:
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