Jisho

×
B442028f569e5984e2d17c7106810040
3 Replies ・ Started by JBRadio at 2016-04-04 16:05:25 UTC ・ Last reply by Kimtaro Admin at 2016-04-29 17:57:23 UTC

Jisho.org Discussion and Comment On submit and On view Issues

When posting discussion or comment submission containing opening tags, '<', and closing tags, '>', these are not being escaped properly on file or view. HTML encoding needs to be done on view especially. For example, & l t ; for "less than" and & g t ; for "greater than" symbols. This can be an issue if forum posters would like to talk about Jisho.org projects or site suggestions where programming development talk takes place.

Using & lt; and & gt;
< html >

Using '<' and '>'

javascript way to parse would be like userInputValue.replace(/</g,"<");

http://www.ascii.cl/htmlcodes.htm

2986330e38386f92fee4774b0c54ed66
Kimtaro Admin at 2016-04-12 17:19:59 UTC

The forum uses markdown to format posts. If you want to include HTML you can make a quoted block by prefixing a line with four spaces.

Like this <a href="test.html">test</a>
B442028f569e5984e2d17c7106810040
JBRadio at 2016-04-13 02:02:51 UTC

なるほど。I've been using markdown (md) a little bit on a GitHub page. There's a ReadMe.md file you can use to format text for GitHub projects. Thank you for letting me know a little more about the forums. I apologize if this is listed somewhere already on Jisho.org but, perhaps it would be beneficial to note that markdown is used in the forums via the forum footer notes for all forum users.

<a href="testingMarkdownForHTML.html">Markdown!</a>
2986330e38386f92fee4774b0c54ed66
Kimtaro Admin at 2016-04-29 17:57:23 UTC

Yeah I really should have a notice by the text entry box that mentions Markdown :)

to reply.