Fix spacing around arrows
This commit is contained in:
parent
7b6df0d696
commit
796d894dd0
1 changed files with 3 additions and 1 deletions
|
@ -456,7 +456,9 @@ def write_page(out, pageid, page):
|
|||
with out.pair_tag("h4", clazz="pattern-title"):
|
||||
inp = page.get("input", None) or ""
|
||||
oup = page.get("output", None) or ""
|
||||
out.text(f"{page['name']} ({inp} \u2192 {oup})")
|
||||
pipe = f"{inp} \u2192 {oup}".strip()
|
||||
suffix = f" ({pipe})" if inp or oup else ""
|
||||
out.text(f"{page['name']}{suffix}")
|
||||
if anchor_id:
|
||||
with out.pair_tag("a", href="#" + anchor_id, clazz="permalink small"):
|
||||
out.empty_pair_tag("i", clazz="bi bi-link-45deg")
|
||||
|
|
Loading…
Reference in a new issue