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:
parent
3025fb3f0b
commit
698ec1e9d4
@ -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*
|
||||
|
@ -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*
|
||||
|
Loading…
Reference in New Issue
Block a user