I want to save text KEEPING whitespace, but postgresql automatically deletes whitespace with a built in trim function. I want to turn the trim function off. When I save text, I want to KEEP whitespace.
My table looks like this:
create table user_chapters(
chapter_id serial primary key,
chapter_content varchar)
I want chapter_content to keep the whitespace, but currently it is deleting all whitespace more than one. I want to be able to click the "tab" button to indent the first line of a paragraph. The html adds in whitespace to the p tag, but then postgresql deletes the whitespace.
tag, but then postgresql deletes the whitespace.
– Page COW Nov 06 '19 at 12:09