mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-16 11:20:18 +00:00
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:
parent
e4b2c05c21
commit
ab51983ebf
@ -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<PhotoCellNode> {
|
||||
|
||||
override func loadNode() {
|
||||
self.node = PhotoCellNode(photoObject: photoModel)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user