This repository was archived by the owner on Jun 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
Sources/swift-doc/Supporting Types Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
40
40
#130 by @mattt .
41
41
- Fixed file and directory unexpected permissions.
42
42
#146 by @niw .
43
- - Fixed rendering of colon sequences in function signatures
44
- as emoji shortcodes (e.g. ` :on: ` → 🔛).
45
- #149 by @mattt .
46
43
- Fixed declarations for properties without explicit type annotations.
47
44
#150 by @mattt .
48
45
- Fixed visual regression for adjacent linked tokens in code block.
Original file line number Diff line number Diff line change @@ -24,13 +24,7 @@ extension Page {
24
24
let data : Data ?
25
25
switch format {
26
26
case . commonmark:
27
- var text = document. render ( format: . commonmark)
28
- // Insert U+200B ZERO WIDTH SPACE
29
- // to prevent colon sequences from being interpreted as
30
- // emoji shortcodes (without wrapping with code element).
31
- // See: https://docs.github.com/en/github/writing-on-github/basic-writing-and-formatting-syntax#using-emoji
32
- text = text. replacingOccurrences ( of: " : " , with: " : \u{200B} " )
33
- data = text. data ( using: . utf8)
27
+ data = document. render ( format: . commonmark) . data ( using: . utf8)
34
28
case . html:
35
29
data = layout ( self ) . description. data ( using: . utf8)
36
30
}
You can’t perform that action at this time.
0 commit comments