-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The title of the generated document is inconsistent with the original title #3798
Comments
I took a look at the cause of the problem, and it seems to be because ReSpec and Specberus have handled the h1/title of the document inconsistently: |
Hmm... I see, but the |
I'm not sure if there is a convention or a better way to fix it. Maybe @deniak knows more. |
From https://www.w3.org/pubrules/doc/rules/?profile=WD#title, pubrules transforms:
So for that specific document, pubrules expects the title to be "Requirements for Chinese Text Layout - 中文排版需求" |
I sent a PR that mirrors pubrules. Just thinking out loud: an alternative way might have been to use CSS to hide ”:” and add a line break. |
Important info
Description of problem
What happened (e.g., it crashed)?:
The
title
of the static HTML document generated by ReSpec is not the same as the originaltitle
of the document.The title of https://w3c.github.io/clreq/ is "Requirements for Chinese Text Layout - 中文排版需求", but in the generated HTML it is "Requirements for Chinese Text Layout中文排版需求", and Pubrules reports an error:
Expected behavior (e.g., it shouldn't crash):
ReSpec should probably not modify the
title
of the document.Optional, steps to reproduce:
title
of the documentThe text was updated successfully, but these errors were encountered: