vdoc: fix markdown content indentation
							parent
							
								
									dee3bbffe9
								
							
						
					
					
						commit
						90839a1b76
					
				|  | @ -420,10 +420,8 @@ fn doc_node_html(dd doc.DocNode, link string, head bool, tb &table.Table) string | ||||||
| 	if !head && dd.content.len > 0 { | 	if !head && dd.content.len > 0 { | ||||||
| 		dnw.writeln('<pre class="signature"><code>$hlighted_code</code></pre>') | 		dnw.writeln('<pre class="signature"><code>$hlighted_code</code></pre>') | ||||||
| 	} | 	} | ||||||
| 	for line_content in md_content.split('\n') { | 	// do not mess with md_content further, its formatting is important, just output it 1:1 !
 | ||||||
| 		dnw.write('\n${tabs[2]}$line_content') | 	dnw.writeln('$md_content\n</section>') | ||||||
| 	} |  | ||||||
| 	dnw.writeln('\n${tabs[1]}</section>') |  | ||||||
| 	dnw_str := dnw.str() | 	dnw_str := dnw.str() | ||||||
| 	defer { | 	defer { | ||||||
| 		dnw.free() | 		dnw.free() | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue