Skip to content

Minor updates #43

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

Merged
merged 2 commits into from
Jun 12, 2025
Merged

Minor updates #43

merged 2 commits into from
Jun 12, 2025

Conversation

gkellogg
Copy link
Member

@gkellogg gkellogg commented Jun 12, 2025

  • Exclude surrogate codepoints. for escape sequences. Reformat the escape sequences list
  • Add test links.

Preview | Diff

@gkellogg gkellogg requested a review from domel June 12, 2025 00:05
@gkellogg gkellogg added the spec:enhancement Change to enhance the spec without affecting conformance (class 2) –see also spec:editorial label Jun 12, 2025
@gkellogg gkellogg merged commit c7d20fa into main Jun 12, 2025
3 checks passed
@gkellogg gkellogg deleted the minor-updates branch June 12, 2025 16:45
Comment on lines +417 to +421
<a href="#grammar-production-IRIREF" ><code>IRIREF</code> </a>,
<a href="#grammar-production-STRING_LITERAL_SINGLE_QUOTE" ><code>STRING_LITERAL_SINGLE_QUOTE</code> </a>,
<a href="#grammar-production-STRING_LITERAL_QUOTE" ><code>STRING_LITERAL_QUOTE</code> </a>,
<a href="#grammar-production-STRING_LITERAL_LONG_SINGLE_QUOTE"><code>STRING_LITERAL_LONG_SINGLE_QUOTE</code></a>, or
<a href="#grammar-production-STRING_LITERAL_LONG_QUOTE" ><code>STRING_LITERAL_LONG_QUOTE</code> </a>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the WS gaps between </code> and </a> — though folded to a single variable-width space character — will remain in the HTML, between the text of the anchor and the following comma (e.g., IRIREF ,). This is usually not problematic, but it often looks bad. Better to always have no WS between the content of an <a> element and the closing </a>. If you want to retain the whitespace to make the ReSpec source easier to edit, you can put it into the </a> itself, as </a >.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a pretty long-standing pattern for "RDF Term Constructors", at least Turtle and TriG to make the code easier to maintain. Other places, such as you note here, don't present the same layout problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:enhancement Change to enhance the spec without affecting conformance (class 2) –see also spec:editorial
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants