mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
Dont convert md to html in fieldtype Text
This commit is contained in:
parent
bd4c581462
commit
b380812c57
@ -1,5 +1,5 @@
|
||||
const numberFormat = require('./numberFormat');
|
||||
const markdown = new (require('showdown').Converter)();
|
||||
// const markdown = new (require('showdown').Converter)();
|
||||
const luxon = require('luxon');
|
||||
const frappe = require('frappejs');
|
||||
|
||||
@ -13,7 +13,7 @@ module.exports = {
|
||||
value = numberFormat.formatNumber(value);
|
||||
|
||||
} else if (field.fieldtype === 'Text') {
|
||||
value = markdown.makeHtml(value || '');
|
||||
// value = markdown.makeHtml(value || '');
|
||||
|
||||
} else if (field.fieldtype === 'Date') {
|
||||
let dateFormat;
|
||||
|
Loading…
Reference in New Issue
Block a user