Re: [Tiki-devel] Improved PluginFont
luciash via TikiWiki-devel <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Volker,
thanks for your contribution!
The implications are if you don't use the proper filter you might
introduce a security flaw (security hole) so it's always needed to use
the appropriate filter or filter the field to a number only and make the
units to be selected (e.g. in a drop down) from a predefined list of
options.
luci
On 23.07.2021 19:20, Volker Wysk wrote:
> Hi!
>
> I've improved the Font Plugin. In the previous version, the font size
> could only be specified in pixels. I've made it possible to specify it
> in any of the ways, in which font sizes can be specified by the "font-
> size" CSS style. See here:
>
> https://www.w3.org/TR/CSS2/fonts.html#propdef-font-size
>
> Now you can say "{FONT(size=125%)}...{FONT}" or
> "{FONT(size=1.5em)}...{FONT}" or ...
>
> The changes were small. However, I've removed the "filter" property
> from the "size" argument. I don't understand the implications of this
> fully yet.
>
> I think the improved version should go into Tiki. :-) I'll update the
> documentation.
>
> The new version is attached.
>
> Cheers,
> Volker
>
>
> _______________________________________________
> TikiWiki-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel
_______________________________________________
TikiWiki-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-devel