Search code examples
issue-trackinggithub

Brackets on GitHub issues


Does anyone know how to include brackets in a comment on GitHub issues?

I'm trying to add something like this, but nothing shows up:

<dependentAssembly>
 <assemblyIdentity name="dotless.Core" publicKeyToken="96b446c9e63eae34" culture="neutral" />
 <bindingRedirect oldVersion="0.0.0.0-1.2.2.0" newVersion="1.2.2.0" />
</dependentAssembly>

I've already tried to surround everything with <pre></pre>, "`", and others, but nothing seems to work. It just won't show up!


Solution

  • Did you try to HTML encode these?

    < to - &lt;
    > to - &gt;
    & to - &amp;