summaryrefslogtreecommitdiff
path: root/board.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'board.cpp')
-rw-r--r--board.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/board.cpp b/board.cpp
index 3acf03b..b3e113e 100644
--- a/board.cpp
+++ b/board.cpp
@@ -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>"));
}