Skip to content

Commit

Permalink
Fix bug that breaks ASNodeController docs page (TextureGroup#690)
Browse files Browse the repository at this point in the history
When Obj-C is selected on this page, the bottom half of the documentation is missing. When Swift is selected, malformed content appears where the documentation is nested inside the code block.

Repro'd here in Safari and Chrome: http://texturegroup.org/docs/containers-asnodecontroller.html

I think the bug is that <PhotoCellNode> is being parsed as an HTML tag, and this should fix it.
  • Loading branch information
richardhenry authored and appleguy committed Nov 28, 2017
1 parent e4b2c05 commit ab51983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/containers-asnodecontroller.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ All of this logic can be removed from where it previously existed in the "view"
</pre>

<pre lang="swift" class = "swiftCode hidden">
final class PhotoCellNodeController: ASNodeController<PhotoCellNode> {
final class PhotoCellNodeController: ASNodeController&lt;PhotoCellNode&gt; {

override func loadNode() {
self.node = PhotoCellNode(photoObject: photoModel)
Expand Down

0 comments on commit ab51983

Please sign in to comment.