mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 08:14:44 -04: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)
|
NINJA.parseMarkdownText = function(val, groupText)
|
||||||
{
|
{
|
||||||
|
val = val + "\n";
|
||||||
|
|
||||||
var rules = [
|
var rules = [
|
||||||
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
||||||
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
||||||
|
@ -737,6 +737,8 @@ NINJA.processItem = function(item, section) {
|
|||||||
|
|
||||||
NINJA.parseMarkdownText = function(val, groupText)
|
NINJA.parseMarkdownText = function(val, groupText)
|
||||||
{
|
{
|
||||||
|
val = val + "\n";
|
||||||
|
|
||||||
var rules = [
|
var rules = [
|
||||||
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
['\\\*\\\*(\\\w.+?)\\\*\\\*', {'bold': true}], // **value**
|
||||||
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
['\\\*(\\\w.+?)\\\*', {'italics': true}], // *value*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user