[SOLVED] < and > signs in code

identicon
solved < and > signs in code
Fan#17562 Sunday 24th April 2016, 19:35:57

Hi,
I noticed that if you do < test > between ''' ''', you get

```
< test >
```
But between code/code, you get


< test >

Replies 3
Fred_4346f29d
Fred  Sunday 24th April 2016, 22:19:21

Flatboard accepts in part the markdown format.
Because the signs :
< > 

can open the door to malicious code in Javascript, so use the bbcode [code] to normally display the unexecuted html code.
ex: <script>alert('Alert XSS')</script>
In the [Doc page](view.php/plugin/page/p/docs), i authorize all html & markdown content, because only admin post page.
**We must not forget that any intervenor access to the editor to post a new topic or reply.**

Before ask a question, read the documentation.
Please like in alternativeto.net 👍🏻
╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!

Prétendre que votre droit à une sphère privée n'est pas important parce que vous n'avez rien à cacher n'est rien d'autre que dire que la liberté d'expression n'est pas essentielle car vous n'avez rien à dire.
-- E. Snowden

identicon
Fan#17562  Monday 25th April 2016, 23:07:00

Sure, I understand, thank you.

identicon
Fred#6f711  Friday 20th May 2016, 21:38:43

test