Subject: bug#37397: 26.2; less-than-character cuts off end of pre tag in eww

From: Robert Pluim <[email-masked]>
Date: Fri, 13 Sep 2019 12:17:17 +0200

>>>>> On Fri, 13 Sep 2019 11:44:55 +0200, Kevin Brubeck Unhammer <[email-masked]> said:

    Kevin> Doing
    Kevin> M-x eww http://www.haskellforall.com/2012/09/the-functor-design-pattern.html RET

    Kevin> I see

    Kevin>     idB   = return
    Kevin>     (._B) = (<=
    Kevin>     ... and our map function obeyed the functor laws:

    Kevin> where it should show

    Kevin>     idB   = return
    Kevin>     (._B) = (<=<)

    Kevin>     ... and our map function obeyed the functor laws:

    Kevin> The html for this fragment is

    Kevin>     <pre>
    Kevin>     idB   = return
    Kevin>     (._B) = (<=<)
    Kevin>     </pre>
    Kevin>     ... and our <tt>map</tt> function obeyed the functor laws:

The source html is incorrect: it should have written those '<' as
'&lt;'. <pre> does not mean 'anything goes'.

Robert