This queue is for tickets about the CPAN CPAN distribution.

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

People
Owner:
Nobody in particular
Requestors:
gregj [...] nomad-systems.com
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
2.00
Fixed in:
(no value)



Subject: Invalid syntax from TextToHTML
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 runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.