caddis / streeng

Perform common operations on strings in ExpressionEngine 2 or 3.
Apache License 2.0
23 stars 8 forks source link

Compatability with EE5 #15

Open nicklee opened 4 years ago

nicklee commented 4 years ago

This addon still seems to work with EE5, however it's worth noting that it no longer automatically closes tags when using the words or character parametres. Can get a little frustrating, a nasty hack is to do the following:

{exp:streeng characters="250" allowed="em|b|i|strong"}
    {content}
{/exp:streeng}
</em></b></i></strong>

But this obviously isn't ideal.

nicklee commented 4 years ago

Looks like this addon's functionality is now built into EE nowadays: https://docs.expressionengine.com/latest/templates/variable-modifiers.html#limit

ricklecoat commented 3 years ago

Variable modifiers do part of what Streeng does, but they don’t go all the way. The main problem with variable modifiers is that you can only apply them directly to variables, not to arbitrary strings, and you can only apply one modifier per variable.