Yes it appears the DB is storing the correct html markup.
Including a line break in a Base Pluslet or in a FAQ item works great,
just not with a record item inserted into a base pluslet.
On line 607 of guide_functions.php, it looks like this may be causing
my issue:
$myrow[9] = preg_replace('/(<br \/>)+/','',$myrow[9]);
myrow[9] is the description field in this array of are retrieved
record item.
I thought I'd try just entering "<br>" in the source view of the
record rather than "<br />" to get around the replace, but apparently
FCKeditor doesn't like that!
Ryan
On Nov 11, 9:46 am, Andrew Darby <
agda...@gmail.com> wrote:
> Hmm. Doesn't happen when i test this. Anybody else seen this behaviour?
>
> Anyway, if you go to records/record.php and change the line near the top
>
> $debugger = "yes";
>
> you'll see what's being submitted to the DB. Do you see the line
> breaks (or spacing) in the displayed query when you save the record?
> (The queries will be outlined in yellow.)
>
> Do the line breaks appear in the database record, if you check the
> appropriate table in the DB? It will be the description field in the
> title table, the record_id is in the URL for the page.
>
> Do line breaks work in other instances of FCKEditor--e.g., if you
> create a Base Pluslet in the Guide section, or an FAQ?
>
> Andrew
>