Fix for markdown when text is a single line
This commit is contained in:
parent
3025fb3f0b
commit
698ec1e9d4
2 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue