Jump to content

[SOLVED]Prevent <> stripped from string, > seperately is not stripped, (striptags ?)


venditdevs

Recommended Posts

For our websites it's crucial to insert/display ALL data including HTML  in feature values.

 

I allready extended the FeatureValue class to accept < = > characters but now i have a new challenge

 

We can type values like : '>500 watt' , but as soon as we combine <> in 1 value it breaks, it doesn't display. It seems it's detected as a HTML tag and therefor it's stripped.

 

Where is the HTML stripped ?

 

Examples:

500=>  will display 500=>

500=<  will display 500=<

<500 => will display nothing.

><500 will display >

Edited by venditdevs (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...