MXS-2712: Fix field description generation
Longer descriptions broke the formatting. The output is now also formatted as a Markdown table which makes it work in the generated documentation.
This commit is contained in:

committed by
Johan Wikman

parent
446a3fac15
commit
d0114d9d48
@ -415,8 +415,8 @@ module.exports = function() {
|
||||
|
||||
this.fieldDescriptions = function(fields) {
|
||||
var t = new Table({chars: {
|
||||
'top' : '', 'top-mid': '', 'top-left': '', 'top-right': '', 'left': ' ', 'right': '',
|
||||
'left-mid': '' , 'mid': '' , 'mid-mid': '', 'right-mid': '' , 'middle': '',
|
||||
'top' : ' ', 'top-mid': '', 'top-left': '', 'top-right': '', 'left': ' ', 'right': '',
|
||||
'left-mid': '' , 'mid': '' , 'mid-mid': '', 'right-mid': '' , 'middle': '|',
|
||||
'bottom' : '', 'bottom-mid': '', 'bottom-left': '', 'bottom-right': '',
|
||||
}})
|
||||
|
||||
|
Reference in New Issue
Block a user