mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fmt: prevent possible trailing whitespace in wrapped infixes (#9573)
This commit is contained in:
parent
646d46b4dc
commit
0eb59cf2bd
9 changed files with 27 additions and 8 deletions
|
@ -228,7 +228,7 @@ fn (vd VDoc) write_content(cn &doc.DocNode, d &doc.Doc, mut hw strings.Builder)
|
|||
}
|
||||
for child in cn.children {
|
||||
child_file_path_name := child.file_path.replace('$base_dir/', '')
|
||||
child_src_link := get_src_link(vd.manifest.repo_url, child_file_path_name,
|
||||
child_src_link := get_src_link(vd.manifest.repo_url, child_file_path_name,
|
||||
child.pos.line_nr + 1)
|
||||
hw.write_string(doc_node_html(child, child_src_link, false, cfg.include_examples,
|
||||
d.table))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue