Form field parameters not accepting new line

More
11 years 6 months ago #36187 by rottenberg
hello,

FC version : FLEXIContent - 2.0.2 - r1676

First of all I want to congratulate FC team development about the improvement on related/backrelated fields.

This version is very easy to use.

I have just a little problem : the line feed inside the 'list creation(frontend view)' erases all text which is after the line feed:

As example I have this text in the field :
Code:
%%{{tableau_horaires}}<div style="float:none;"><div style="width:70px;background-color:#ff0000;float:left">{{lundi##label}}</div>: {{lundi}}</div><div style="float:none;"><div style="width:70px;background-color:#ff0000;float:left">{{mardi##label}}</div>: {{mardi}}</div><div style="float:none;"><div style="width:70px;background-color:#ff0000;float:left">{{mercredi##label}}</div>: {{mercredi}}</div>%%

To be easily readable I have introduced some line feeds to get this text :
Code:
%%{{tableau_horaires}} <div style="float:none;"><div style="width:70px;background-color:#ff0000;float:left">{{lundi##label}}</div>: {{lundi}}</div> <div style="float:none;"><div style="width:70px;background-color:#ff0000;float:left">{{mardi##label}}</div>: {{mardi}}</div> <div style="float:none;"><div style="width:70px;background-color:#ff0000;float:left">{{mercredi##label}}</div>: {{mercredi}}</div>%%

When I save the page I get this :
Code:
%%{{tableau_horaires}}

I have done different tests : all text after the first line feed is canceled.

It's not a hard problem, it's just a cosmetic one to facilitate the reading of the html text.

If possible, can it be corrected in next version

best regards
Michel

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #36189 by ggppdk
Hello,

I am not sure why this is in effect, the filter="SAFEHTML" does not work either, but the same effect is in J1.5 version

PS: I have changed the title of this thread to describe better your question


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.290 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline