Skip Menu |

This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id: 57333
Status: new
Priority: 0/
Queue: CPAN

Owner: Nobody in particular
Requestors: gregj [...]

Bug Information
Severity: Normal
Broken in: 2.00
Fixed in: (no value)

Subject: Invalid syntax from TextToHTML
Download (untitled) / with headers
text/plain 704b
TextToHTML 2.51 uses the following to indicate a break ‘<br/>’. The correct syntax has a space between the ‘r’ and the ‘/’, ie ‘<br />’. I know this sounds pedantic and most browsers ignore it however it caused me a problem recently: I was feeding the output from TextToHTML to a Wordpress site. Normally Wordpress converts ‘end of line’ to ‘<br /> unless it is already there. It doesn’t recognise ‘<br/>’ as being valid, so it places a ‘<br />’ on the end, effectively giving me double-spaced lines where I didn’t want them. I solved the problem by correcting the output from TextToHTML, but I thought it might be best to fix the problem within TextToHTML.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to