Op donderdag 7 februari 2019 23:15:18 CET schreef David Carlson:
> I am faced with inserting linefeeds into OFX files at certain critical
> locations to make them more palatable to libofx.  In that context I have
> found that I can open them with LibreOffice, turn on Formatting Marks (Ctrl
> F10) then place the curser wherever I want a linefeed and press
> Shift-Enter.  Last, I need to be sure to save the file with a modified
> filename but the original suffix in text-only format.
> 
> That is working for me.  Of course the linefeeds do need to be correctly
> placed for the application.

That's a completely different story :)

The OFX parser is not an html parser, though both are based on SGML in one way 
or another. And the OFX parser has a bug causing it to misinterpret certain 
tags. By sheer luck the bug is not triggered if that tag is on a line of its 
own.

However the html parser has no bug. Html be definition ignores newlines in 
textual data. The "\n" people refer to here is just a coder's representation 
of that newline. So the html parser will ignore it.

In this case Derek offered the proper solution: use <br> instead.

Regards,

Geert


_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to