RD_TheCoder's blog

By RD_TheCoder, history, 3 years ago, In English

How to use html del tag in codeforces comment section ??

Thanks

  • Vote: I like it
  • -2
  • Vote: I do not like it

»
3 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

If there's direct support for this in the flavor of Markdown Codeforces comments use, I'm not aware of it. Using ~ doesn't seem to work: ~~test~~

I thought it was possible to use the combining-strike-through Unicode character U+0336 to achieve a similar effect, since I've done so in the past, but it seems to give the error "Field should contain simple text" when I now try to post a comment containing it. Of course, that's also a rather inconvenient input format, albeit one that's easy to automate.

EDIT: Aha! It's possible when editing a comment, but not when first posting a comment. T̶h̶e̶ ̶r̶e̶s̶u̶l̶t̶ ̶l̶o̶o̶k̶s̶ ̶s̶o̶m̶e̶t̶h̶i̶n̶g̶ ̶l̶i̶k̶e̶ ̶t̶h̶i̶s̶. Is this a bug? Is MikeMirzayanov the right person to tag with this question?

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

<del> doesn't seem to work, but <s> does.

This line uses <del>

This line uses <s>

  • »
    »
    3 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Judging by the fact that <del> doesn't even appear in the page source, I am guessing that there is some list of "allowed" HTML tags. For example, <script> should obviously not be allowed.