File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -595,11 +595,9 @@ class DoxygenConverter : public MarkupASTVisitor<DoxygenConverter> {
595
595
}
596
596
597
597
void visitCode (const Code *C) {
598
- print (" \\ code" );
599
- printNewline ();
598
+ print (" <code>" );
600
599
print (C->getLiteralContent ());
601
- printNewline ();
602
- print (" \\ endcode" );
600
+ print (" </code>" );
603
601
}
604
602
605
603
void visitHTML (const HTML *H) {
Original file line number Diff line number Diff line change @@ -235,9 +235,7 @@ SWIFT_CLASS("_TtC8comments19HasThrowingFunction")
235
235
236
236
237
237
throws:
238
- An error if \code
239
- x == 0
240
- \endcode
238
+ An error if <code>x == 0</code>
241
239
*/
242
240
- (void )f1:(NSInteger )x;
243
241
- (nonnull instancetype )init OBJC_DESIGNATED_INITIALIZER;
@@ -299,9 +297,7 @@ SWIFT_CLASS("_TtC8comments20IndentedBlockComment")
299
297
SWIFT_CLASS (" _TtC8comments10InlineCode" )
300
298
@interface InlineCode
301
299
/* *
302
- Aaa \code
303
- bbb
304
- \endcode ccc.
300
+ Aaa <code>bbb</code> ccc.
305
301
*/
306
302
- (void )f0;
307
303
- (nonnull instancetype )init OBJC_DESIGNATED_INITIALIZER;
You can’t perform that action at this time.
0 commit comments