[ovs-dev] [PATCH] dist-docs: Fix bugs in text to HTML conversion.

Ben Pfaff blp at ovn.org
Mon Jun 10 00:16:16 UTC 2019


On Fri, May 10, 2019 at 03:02:43PM -0700, Ben Pfaff wrote:
> This fixes two bugs.  First, & has a special meaning in the replacement
> text for a sed "s" command, so this escapes it.  Second, this code
> misprocessed bold or underlined &<>: >^H> would become &gt;^H&gt; which
> would display as &gt&gt; in most browers.
> 
> Finally, this improves the HTML output so that bold ABC becomes <b>ABC</b>
> instead of <b>A</b><b>B</b><b>C</b>.
> 
> Reported-by: Nicolas Bouliane <nbouliane at digitalocean.com>
> Reported-at: https://twitter.com/nicboul/status/1126959264772259842
> Signed-off-by: Ben Pfaff <blp at ovn.org>

This still needs a review from someone.


More information about the dev mailing list