Commit ae60933d authored by Matt Tucker's avatar Matt Tucker Committed by matt

Fixed hilight of marker.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1108 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1f47aab6
......@@ -58,7 +58,7 @@
buf.append("<span class=\"hilite\">").append(input).append("</span>");
return buf.toString();
}
else if (input.startsWith(" --- ") && input.endsWith(" --- ")) {
else if (input.trim().startsWith("---") && input.trim().endsWith("---")) {
StringBuffer buf = new StringBuffer();
buf.append("<span class=\"hilite-marker\">").append(input).append("</span>");
return buf.toString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment