Hi All
I need to have hard linebreaks appear in some of my text (a quoted part a poem).
I followed the instructions at
https://tiddlywiki.com/#Hard%20Linebreaks%20in%20WikiText and successfully had the line breaks appear.
However, as soon as I added italics or bold formatting to the entire block of text, the line breaks disappeared.
The following wikitext works:
"""
This is a line
and this is a new line
while this is yet another line
"""This is a line
and this is a new line
while this is yet another line
-------------
However, adding italics or bold to the inside of the whole block removes the line breaks:
"""
//This is a line
and this is a new line
while this is yet another line//
"""
"""
''This is a line
and this is a new line
while this is yet another line''
"""This is a line
and this is a new line
while this is yet another line
This is a line
and this is a new line
while this is yet another line
Note that the italics (or bold) formatting doesn't have to surround the whole block of text for the line breaks to be affected. If the formatted text encompasses a line break, then that line break will not appear.
-------------
If I put the formatting outside the hard line break block, then both the formatting and the line breaks appear:
//"""
This is a line
and this is a new line
while this is yet another line
"""//This is a line
and this is a new line
while this is yet another lineIs this expected behaviour, or have I discovered a small bug in the wikitext processing?
Cheers
Andrew Mc