Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


wiki remember html

posts: 92 Germany

where do i enable tiki to remember my 'allow html' setting ?

on every new edit i have to check this box.

as admin.

thanks

posts: 3 United States

I looked at the 1.8.4 code and the problem is there's nowhere to store allow_html. It's only used by tiki-editpage.php when a page is sumitted, to decide whether to run htmlspecialchars() on the text or not.

I see two directions to go:

1) Add a column to the tiki_page table for allow_html, which is honored when applicable (i.e. allow_html feature isn't disabled.) This would allow per-page tracking of allow_html.

or

2) If the user is allowed to enter html (via perms), default the "Allow HTML?" checkbox to ON.

posts: 2881 United Kingdom

Its set to off by default because its evil. You can modifyyour sites tpl for tiki-editpage.tpl to change it to on by default.

But allowing html in the wiki area, could give people the door to getting your admin password

Damian

posts: 3 United States
By forgetting that a page is supposed to render as HTML, a read-only wiki might compromise other data on the site.

posts: 92 Germany

i see 💡

i try not to use html in wiki anymore.

btw. the make link firefox extension is really nice, i added
wiki syntax to it.

press your thumbs for me, that i get the permission to
translate bbcode to tikicode
😁

pi . . .