Uploaded image for project: 'Jenkins Website'
  1. Jenkins Website
  2. WEBSITE-270

Colons cannot be part of handbook chapter/section titles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      When adding a colon to chapter titles, it somehow gets interpreted as a map.

      Example:

      glossary/index.adoc

      = Appendix A: Glossary
      

      Output:

       {"Appendix A"=>"Glossary"} 
      

      Adding a slash before the colon just results in

       {"Appendix A\\"=>"Glossary"} 
      

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            Workaround: Use the HTML entity

            :
            Show
            danielbeck Daniel Beck added a comment - Workaround: Use the HTML entity :
            Hide
            varadhya Vijeth Aradhya added a comment -
            Show
            varadhya Vijeth Aradhya added a comment - Daniel Beck It looks good to me. I can't find the error here : https://github.com/jenkins-infra/jenkins.io/blob/master/content/doc/book/glossary/index.adoc
            Hide
            danielbeck Daniel Beck added a comment -

            Of course we're not currently using a colon in a title, because it will appear broken, as described.

            Show
            danielbeck Daniel Beck added a comment - Of course we're not currently using a colon in a title, because it will appear broken, as described.
            Hide
            varadhya Vijeth Aradhya added a comment -

            Correct me if I'm wrong.. Is this what you're expecting - https://github.com/vijeth-aradhya/jenkins.io/commit/a6f46d58837db24ed010f8d6297578d924150793? Daniel Beck
            Thanks,
            Vijeth

            Show
            varadhya Vijeth Aradhya added a comment - Correct me if I'm wrong.. Is this what you're expecting - https://github.com/vijeth-aradhya/jenkins.io/commit/a6f46d58837db24ed010f8d6297578d924150793? Daniel Beck Thanks, Vijeth
            Hide
            danielbeck Daniel Beck added a comment -

            No. This is isn't a content bug. This is a bug of the tools generating the website. AFAIU it should be possible to use a colon in a title without it appearing broken. It's not. So this needs to be fixed.

            Show
            danielbeck Daniel Beck added a comment - No. This is isn't a content bug. This is a bug of the tools generating the website. AFAIU it should be possible to use a colon in a title without it appearing broken. It's not. So this needs to be fixed.
            Hide
            zbynek Zbynek Konecny added a comment -

            Pages using colons in title are working now:
            https://jenkins.io/doc/developer/extensions/workflow-cps/

            Show
            zbynek Zbynek Konecny added a comment - Pages using colons in title are working now: https://jenkins.io/doc/developer/extensions/workflow-cps/

              People

              Assignee:
              varadhya Vijeth Aradhya
              Reporter:
              danielbeck Daniel Beck
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: