Go to file
jordi fita mas 64dc533949 Remove the extra <div> when saving content from CKEditor
I need to have a single top-level element in order to serialize to XML
when returning the editor’s content back to the text area, because,
unlike PostgreSQL, XMLSerializer only works with XML documents.

I added a <div> because this is the least “semantic” block element there
is, but Oriol seems to have trouble in services when trying to align
services using a grid due to this extra div.

Now i still use the div to serialize to XML, but then remove that
top-level element from the output string by stripping out its label. I
 can not be sure that all browsers would serialize the <div> in the
 same way, thus i can not use fixed indices in call to substring.
2024-01-21 21:04:51 +01:00
cmd/camper Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
debian Add the application’s version to the footer 2024-01-21 20:50:16 +01:00
demo Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00
deploy Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00
pkg Add the application’s version to the footer 2024-01-21 20:50:16 +01:00
po Add the application’s version to the footer 2024-01-21 20:50:16 +01:00
revert Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00
test Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00
verify Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00
web Remove the extra <div> when saving content from CKEditor 2024-01-21 21:04:51 +01:00
.gitignore Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
Makefile Add French’s Gettext file, with very little translations 2023-12-13 23:55:43 +01:00
go.mod Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
go.sum Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00