Jump to content

loss of formatting in span


This topic is 8678 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I know this isn't directly FMPro related, but I have a text field in FMPro that loses all formatting when I put it in a browser if I use the <span> tag. When I use instant publishing, FMPro uses the <span> tag, but somehow breaks up the text with <br> whenever there is a line return. Is that being done through a script? How can I do that?

Using <textarea> keeps the formatting, but I want it to be read-only, which I don't think can be done in <textarea>. Is there a tag that will keep the formatting but will also make it read only?

Thanks for any help.

Link to comment
Share on other sites

  • 3 weeks later...

Formatting will be lost over the web unless the text has html cods embedded in it AND the field CDML tag has raw encoding selected ie., [FMP-Field: text, raw].

Link to comment
Share on other sites

This topic is 8678 days old. Please don't post here. Open a new topic instead.

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...

Important Information

By using this site, you agree to our Terms of Use.