Board Thread:Support Requests - Getting Technical/@comment-32590715-20200618212824/@comment-32590715-20200619140454

Guy Bukzi Montag wrote: Concerning the line breaks:

A double  triggers a  HTML tag when being parsed. tags like you use for the Georgia font can only contain text spans, no line breaks, so they cannot be extended over the limits of a  tag.

Solutions: I first tried the   as that seemed the simplest solution, and it appears to work fine. If I run into future issues with it I'll make use of one of the alternate solutions.
 * Using a  instead of   in the template. This can have other disadvantages as a   tag has other properties that make it more like a paragraph than a text span.
 * Using a new instance of  for every paragraph, this time without initial. As some string operations face difficulties with strings longer than 500 characters, it would be best to split up the texts with a new instance of the template for every new paragraph.
 * You could have users use a special tag, like "[np]" to indicate a new paragraph. You could then replace every [np] with two line breags  which do approximately the same as the p tag, but don't interrupt the Georgia span. Again, the #replace funtion has limitations: https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##replace
 * [EDIT:] You could have users add a  right away in the passed text, this should work without the [np] and replacement stuff and would be the easiest solution.