NationStates Jolt Archive


Html In World Factbook

The Poor and Lonely
07-02-2005, 18:33
can you use standard html markup in the world factbook entry (eg <hr /> and <a href=""></a>). Thanks
Jjuulliiaann
07-02-2005, 18:45
You can use some HTML in the fact-book. EX: You can use colors.
See the news page for more details. SalusaSecondus recently installed this.
The Poor and Lonely
07-02-2005, 19:14
yeah, i saw that. That only covers colours and linking to forums, though. an nl2br() or equivalent function will be used, i'm just wondering whether any other tags will be processed or deleted
SalusaSecondus
07-02-2005, 22:20
yeah, i saw that. That only covers colours and linking to forums, though. an nl2br() or equivalent function will be used, i'm just wondering whether any other tags will be processed or deleted

The code for this is hand-rolled. The tags that we support are:

- [b]bold
- [u]underline
- [i]italic
- [color=red]color
[hr] - Horizontal Rule
[thread ] - Links to a thread in the forums


For the last two, check out the news page (http://www.nationstates.net/news/2005/02/02/index.html#sal_changes) for the syntax.

I may add alignment tags later, but who knows.

All other code is escaped and simply isn't parsed. Feel free to experiment and see what happens.
Heiligkeit
08-02-2005, 02:05
Also, make sure you end whatever you write with [/u](for example) It will not work without it!!