You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation it is stated in the "XML Commands" documentation:
> `<code>`
> Set one or more lines of source code or program output.
> Note that this command behaves like `\code ... \endcode`
> for C# code, but it behaves like the HTML equivalent
> `<CODE>...</CODE>` for other languages.
In fact the `<code>` in C# behaved for all languages like `<CODE>` i.e. from the "HTML Commands" documentation:
> `<CODE> / </CODE>`
> Starts and ends a piece of text displayed in a typewriter font. Note
> that only for C# code, this command is equivalent to `\code` (see
> `<code>`).
This has been corrected.
Note the C# `<code> cannot have attributes so a special rule was needed.
0 commit comments