Summary: | AsciiDoc text replacement: monospace non-escaped `--` rendered as — (em dash) | ||||||
---|---|---|---|---|---|---|---|
Product: | Documentation | Reporter: | Graham Perrin <grahamperrin> | ||||
Component: | Books & Articles | Assignee: | Graham Perrin <grahamperrin> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | doc | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
URL: | https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#text-replacements | ||||||
See Also: |
https://github.com/freebsd/freebsd-doc/pull/113 https://github.com/freebsd/freebsd-doc/pull/115 |
||||||
Attachments: |
|
Description
Graham Perrin
2023-02-19 11:09:06 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=7045e0a4f4293b805c2bddd677a31907bd434f21 commit 7045e0a4f4293b805c2bddd677a31907bd434f21 Author: Graham Perrin <grahamperrin@FreeBSD.org> AuthorDate: 2023-02-19 18:42:27 +0000 Commit: Graham Perrin <grahamperrin@FreeBSD.org> CommitDate: 2023-02-19 18:42:27 +0000 AsciiDoc text replacement: non-escaped ' -- ' 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: https://github.com/freebsd/freebsd-doc/pull/113 .../en/books/developers-handbook/tools/_index.adoc | 2 +- .../zh-tw/books/developers-handbook/tools/_index.adoc | 16 ++++++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) |