Skip to content

Commit

Permalink
Autolink ObjC superclass in class declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
1ec5 committed Dec 21, 2016
1 parent e6a1578 commit 252e1ab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
[Jeremy David Giesbrecht](https://github.com/SDGGiesbrecht)
[#673](https://github.com/realm/jazzy/issues/673)

* Fix issue where Objective-C superclass in declaration was unlinked.
[Minh Nguyễn](https://github.com/1ec5)
[#706](https://github.com/realm/jazzy/issues/706)

## 0.7.3

##### Breaking
Expand Down
2 changes: 1 addition & 1 deletion lib/jazzy/sourcekitten.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
def autolink_regex(middle_regex, after_highlight)
start_tag_re, end_tag_re =
if after_highlight
[/<span class="(?:n|kt)">/, '</span>']
[/<span class="(?:n|kt|nc)">/, '</span>']
else
['<code>', '</code>']
end
Expand Down

0 comments on commit 252e1ab

Please sign in to comment.