How to allow <p style as permissible html ?

rizaa - December 10, 2006 - 19:45

How I can allow this bit of html

<p style='font-family:"Font_x Unicode Simple"'>

Writing this along with other tags in allowable html, does not allow this.

How is it possible ( ie in which file to alter code ) so that something like
[uni] [/uni] in user input is string replaced to

Full HTML format

glendac - January 25, 2007 - 16:27

If you allow your users the option 'Full HTML' under Input Format settings, they will be able to use inline styling tags. See for example a test I did as an anonymous user on my Drupal 5.2 beta test site: http://softtester.org/test/drupal5/node/7. Note that the Full HTML filter is always available to the first account.

Only p style not other html

rizaa - December 11, 2006 - 04:37

Only p style not other html ..... I do not want full html actually.

This I need to display a custom Unicode EOT font

I too think it would be nice

nlindley - June 5, 2007 - 09:40

I too think it would be nice to allow some HTML elements to have attributes with a filtered input format. I just ran into the problem of normal users not being able to change the list-style-type of ordered lists. Maybe this is something that should be made into a feature request for core...

 
 

Drupal is a registered trademark of Dries Buytaert.