Fix bug that breaks ASNodeController docs page (#690)

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.
This commit is contained in:
Richard Henry 2017-11-27 22:20:50 -08:00 committed by appleguy
parent e4b2c05c21
commit ab51983ebf

View File

@ -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)