Reviewed by Mitz.
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Dec 2006 08:34:00 +0000 (08:34 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Dec 2006 08:34:00 +0000 (08:34 +0000)
commit02ce9538bfbe0a9765c87b5711432ccf35b5a141
tree3fa75e7d06ed9424ce7d1c13e72f1f2faf3acedc
parent4b2c680cbcde23e4016f32735c231e3464bda855
    Reviewed by Mitz.

        http://bugs.webkit.org/show_bug.cgi?id=11998
        Incorrect serialization of quotation marks in XML attributes.

        Test: fast/dom/serialize-attribute.xhtml

        * editing/markup.cpp:
        (WebCore::escapeTextForMarkup): Added an isAttributeValue parameter, as the quotation mark
        only needs to be encoded in attribute values.
        (WebCore::startMarkup): Pass appropriate isAttributeValue to escapeTextForMarkup().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@18484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/serialize-attribute-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/serialize-attribute.xhtml [new file with mode: 0644]
WebCore/ChangeLog
WebCore/editing/markup.cpp