TOC html

From Redazione
Jump to navigation Jump to search
Line 71: Line 71:
  
 
if(value.path) {
 
if(value.path) {
wiki_list.push('#'.repeat(depth) + '[[' + value.path + '|' + value.text + ']]' + "\n")
+
wiki_list.push('#'.repeat(depth) + '[[' + value.path + '|' + value.text + ']]')
 
}
 
}
  
Line 144: Line 144:
  
  
$ci('#pf_free_text').val(wiki_list)
+
$ci('#pf_free_text').val(wiki_list.join("\n"))
  
  

Revision as of 12:54, 16 July 2020


tree placeholder