BBCode on Byteflow
I am not a markdown user by default, and I was excited to see that BBCode was included in the drop down for my blog post. I noticed that my code blocks were getting additional carriage return in my posts, taking up some extra real estate on the page. I know this doesn’t do it in places that I’ve used BBCode before, like phpBB.
I converted my existing posts into Markdown for the time being, and I’ll probably dive into the BBCode parser and see if I can fix what’s going on with the additional br tags.
Update — If you’re using some similar CSS to mine here and you experience the oddness with BBCode you can edit the BBCode.py. On line 565 just comment out the replace statement.
def _prepare(self, bbcode):
# Replace newlines with 'soft' brs
#bbcode = bbcode.replace("\n", '[softbr]')
# Replace emoticons with context-sensitive emoticon tags
#for emoticon in _EMOTICON_LIST:
#bbcode = bbcode.replace(emoticon,
#'[emoticon]' + emoticon + '[/emoticon]')
return bbcode

Comments
Comment form for «BBCode on Byteflow»