Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1bcf5e6b06e206e49d19d0b6fb7dacc9a1025bcc3adaa28483bfa5cdb5a4be31
Ticket: 1c722347fe2726b3544f244565efb2c53de174de
Tool generate wrong links for targets containing spaces/newlines
User & Date: serhiy.storchaka on 2026-10-20 12:57:54
Changes

  1. foundin changed to: "9.1.0"
  2. icomment:
    Thank you, Thomas. The attached ZIP is not available to me, so I made the fix from your description. Confirmed on main: a link check of the HTML generated for Tcl and Tk finds 302 dead anchors and one dead page. The links in the KEYWORDS sections did not go through <tt>nospace-text</tt>, which also replaced only single spaces (some keywords contain a newline), and there was no Keywords page for "3D".
    
    Proposed fix in branch [/timeline?r=man2html-keyword-anchors|man2html-keyword-anchors]: use <tt>nospace-text</tt> for these links, map any whitespace in it, and add index pages for keywords starting with a digit. The link check then finds no dead links; otherwise only the link targets change. The meta viewport is the separate request [7f6005a867]; the nesting of ol, dd, dl and dt is not changed.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"