1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Fix for markdown when text is a single line

This commit is contained in:
Hillel Coren 2016-07-03 13:20:46 +03:00
parent 3025fb3f0b
commit 698ec1e9d4
2 changed files with 4 additions and 0 deletions

View File

@ -31744,6 +31744,8 @@ NINJA.processItem = function(item, section) {
NINJA.parseMarkdownText = function(val, groupText)
{
val = val + "\n";
var rules = [
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*

View File

@ -737,6 +737,8 @@ NINJA.processItem = function(item, section) {
NINJA.parseMarkdownText = function(val, groupText)
{
val = val + "\n";
var rules = [
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*