Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3cbc223ebfe3eb788dfa0511f09be357f15c0859b47231a91645164e4f141fde
Ticket: 1c722347fe2726b3544f244565efb2c53de174de
Tool generate wrong links for targets containing spaces/newlines
User & Date: anonymous on 2026-10-07 20:40:54
Changes

  1. comment changed to:
    tools/tcltk-man2html.tcl and tcltk-man2html-utils.tcl generate HTML files for the user documentation including cross-references and index-pages.
    This tool-set writes wrong target values for several name, id and href-anchor, which results in about 580 not linked pages.
    A target can not include a space or newline (e.g. command with sub-command, like "file exists").
    Usually proc "nospace-text" is called, but not at every needed place (after "#").
    Additionally this proc replaces only spaces.
    But there are pages with more than (single) spaces and/or newlines.
    At least the letter "3" is needed for keyword "3D".
    My propose correct these points and add a meta-viewport in the HTML-head section.
    Please see the attached ZIP with my changes (complete files, because I can't use "diff -u").
    The problems of not right ordered/cascaded tags ol, dd, dl, and dt I can't solve, sorry.
    Best greetings from Germany, Thomas [TWu]
    
  2. icomment:
    I'm sorry to have a left-out copy-paste mistake in the utils-script.
    After the inserted opening bracket one "nospace-text " was forgotten.
    
  3. login: "anonymous"
  4. mimetype: "text/plain"
  5. username: "Thomas [TWu]"