File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -625,7 +625,11 @@ func toHTML(s string) string {
625625 panic (err )
626626 }
627627
628- return mdBuf .String ()
628+ // Replace * with * to avoid confusing the DocFX Markdown processor,
629+ // which sometimes interprets * as <em>.
630+ result := string (bytes .ReplaceAll (mdBuf .Bytes (), []byte ("*" ), []byte ("*" )))
631+
632+ return result
629633}
630634
631635func hasPrefix (s string , prefixes []string ) bool {
Original file line number Diff line number Diff line change 9191 client are often of the type <a href=\" https://godoc.org/google.golang.org/api/googleapi#Error\" ><code>googleapi.Error</code></a>.\n These
9292 errors can be introspected for more information by type asserting to the richer
9393 <code>googleapi.Error</code> type. For example:</p>\n <pre class=\" prettyprint\" ><code>if
94- e, ok := err.(* googleapi.Error); ok {\n\t if e.Code == 409 { ... }\n }\n </code></pre>"
94+ e, ok := err.(* googleapi.Error); ok {\n\t if e.Code == 409 { ... }\n }\n </code></pre>"
9595 type : package
9696 langs :
9797 - go
You can’t perform that action at this time.
0 commit comments