Ranchero-Software / NetNewsWire

RSS reader for macOS and iOS.
https://netnewswire.com/
MIT License
8.41k stars 531 forks source link

code and contenteditable #2506

Open karlcow opened 4 years ago

karlcow commented 4 years ago

This should be enough to reproduce

<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
    <title>Carnets de La Grange</title>
    <subtitle>Mots glanés dans les chemins creux</subtitle>
    <id>tag:la-grange.net,2000-04-12:karl</id>
    <updated>2020-10-19T14:59:59Z</updated>
    <link href="http://www.la-grange.net/feed.atom" rel="self" type="application/atom+xml">
    </link>
    <link href="http://www.la-grange.net/" rel="alternate" type="application/xhtml+xml">
    </link>
    <link href="http://creativecommons.org/licenses/by/2.0/fr/" rel="license">
    </link>
    <author>
        <name>Karl Dubost</name>
        <uri>http://www.la-grange.net/karl/</uri>
    </author>

    <entry>
        <id>tag:la-grange.net,2020-10-19:2020/10/19/fuji</id>
        <link rel="alternate" type="text/html" href="http://www.la-grange.net/2020/10/19/fuji">
        </link>
        <title>Fuji</title>
        <published>2020-10-19T23:59:59+09:00</published>
        <updated>2020-10-19T14:59:59Z</updated>
        <content type="xhtml">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <article class="item post">

                    <p><code>data:text/html,&lt;html contenteditable&gt;</code></p>
                </article>
            </div>
        </content>
    </entry>
</feed>

The feed is at https://www.la-grange.net/feed.atom

The rendering is

Capture d’écran 2020-10-20 à 00 02 56

with me being actually able to type things into the body of the post instead of seing the markup escaped.

Update: Rendering in Firefox of the original blog post.

Capture d’écran 2020-10-20 à 08 28 04
brentsimmons commented 4 years ago

Possibly an Atom parser bug.