diff options
Diffstat (limited to 'board.cpp')
-rw-r--r-- | board.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -329,6 +329,8 @@ void Board::initializeBbCode() _bbcodes << qMakePair(QRegExp("\\[url=([^]]*)\\]", Qt::CaseInsensitive), QString("<a href=\"\\1\">")); _bbcodes << qMakePair(QRegExp("\\[/url\\]", Qt::CaseInsensitive), QString("</a>")); + _bbcodes << qMakePair(QRegExp("\\[hr\\]", Qt::CaseInsensitive), QString("<hr>")); + _bbcodes << qMakePair(QRegExp("\n"), QString("<br>")); } |