Skip to content
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

AsciiDoc text replacement: monospace non-escaped -- rendered as — (em dash) #113

Closed
wants to merge 4 commits into from

Conversation

grahamperrin
Copy link
Contributor

@grahamperrin

This comment was marked as resolved.

@grahamperrin grahamperrin marked this pull request as ready for review February 19, 2023 18:29
freebsd-git pushed a commit that referenced this pull request Feb 19, 2023
https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#text-replacements
notes that text replacement may occur where

 --

– is between two word characters, between a word character and a
line boundary, or flanked by spaces. The replacement:

 —

– an em dash.

The ripgrep command below helped to identify two editions of the
FreeBSD Developers' Handbook in which an escape charater was required.

rg '`.* -- .*`' /usr/doc

Whilst here: full stops, and one sentence per line for the affected
subsection of the zh-tw translation of the book.

https://bugs.freebsd.org/269679
PR:                      269679
Pull request: #113
@grahamperrin grahamperrin deleted the bug-269679 branch February 19, 2023 19:15
@grahamperrin
Copy link
Contributor Author

Side note: zh-tw to the right above, the absence of an up arrow anchoring to #top is not reproducible with Microsoft Edge or Mozilla Firefox on Windows:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant