giuse Posted March 1, 2021 Share Posted March 1, 2021 Hi guys, how can i do to have each value inside a span / div this is the string that gives me the following code <dd class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</dd> <dd class="value">"Milan"<br>"New York"<br>"Paris"</dd> I would like a code: <dd class="value">Milan</dd> <dd class="value">New York</dd> <dd class="value">Paris</dd> Thanks Link to comment Share on other sites More sharing options...
musicmaster Posted March 2, 2021 Share Posted March 2, 2021 Do you mean this kind of operation? https://stackoverflow.com/questions/8355745/break-explode-string-in-smarty Link to comment Share on other sites More sharing options...
giuse Posted March 2, 2021 Author Share Posted March 2, 2021 I would like a result where the individual items are may have applied a class Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now