|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.