Rogue <div style="white-space: normal"> in feeds
simonw opened this issue · comments
It looks like a change to Datasette has caused datasette-atom
to start outputting feed items like this:
https://www.niche-museums.com/browse/feed.atom
<content type="html">
<img src="https://niche-museums.imgix.net/hearst-castle.jpeg?w=800&amp;h=400&amp;fit=crop&amp;auto=compress">
&lt;div style="white-space: normal"&gt;<p>In 1919 press baron William Randolph Hearst commissioned ...
That &lt;div style="white-space: normal"&gt;
should not be there!
Hmm... maybe this only happens when used with the render_markdown()
SQL function?
This isn't a datasette-atom
bug - it's caused by this change in datasette-render-markdown
: simonw/datasette-render-markdown@3311bd2 for simonw/datasette-render-markdown#9
That fixed it.