completed Unwanted line-breaks

hammondegs
@hammondegs
9 years ago
80 posts
When a page or event is created using tinymce editor, unwanted line-breaks are being inserted after every closing tag when the page goes live.
Yet when you view source in tinymce editor, they are not there.
Looks like they are being injected by the HTML purifier.
Is there a way of stopping this happening? - I am currently using template injection to override this bizarre feature ;)
updated by @hammondegs: 03/30/15 05:05:38PM
SteveX
SteveX
@ultrajam
9 years ago
2,584 posts
I see this happening as well, there is an additional line break after each paragraph, and also between list items.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
paul
@paul
9 years ago
4,326 posts
This has recently been brought up on the N2JR forum -
https://www.jamroom.net/the-jamroom-network/forum/ning-to-jamroom/19501/how-can-one-change-the-default-line-spacing-for-returns


--
Paul Asher - JR Developer and System Import Specialist
brian
@brian
9 years ago
10,148 posts
This is an issue with the recent upgrade to TinyMCE - I will get a fix in for it.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
9 years ago
10,148 posts
I have this fixed in the next core release. I'll get a beta out shortly for those sites that want to check it out.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
JR team scores again! :D


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
hammondegs
@hammondegs
9 years ago
80 posts
Good work!
Look forward to the new core release.
hammondegs
@hammondegs
9 years ago
80 posts
Updated to core 5.2.20 and the line-brek issue continues - was your fix included in this release?
Cheers, David.
michael
@michael
9 years ago
7,715 posts
Should have been sorted in 5.2.20. Did you run an integrity check? Which pages are you seeing it on?
hammondegs
@hammondegs
9 years ago
80 posts
Hi Michael.
It happens on the Events item_detail.tpl
I am using a custom template, yet when I changed to the default the problem persisted.
The rest seems to be behaving.

I ran an integrity check and everything is fine.
Thanks, David.
updated by @hammondegs: 01/15/15 01:13:08AM
michael
@michael
9 years ago
7,715 posts
Meaning not so clear there David. Are you all good, or still seeing issues?
hammondegs
@hammondegs
9 years ago
80 posts
Still got the issues.
Just on the Events item_detail.tpl
linebreaks after every closing tag, including list-items.

Currently using template injection to overcome this.
updated by @hammondegs: 01/15/15 02:50:13AM
brian
@brian
9 years ago
10,148 posts
I just pushed out Jamroom Core 5.2.21 that should do a better job of fixing this up - update and let me know if you see issues.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
hammondegs
@hammondegs
9 years ago
80 posts
Hi Brian,

Paragraphs have been fixed.
Line-breaks still appear after list-items 'li' and headings 'h1' etc.
Cheers, David.

Update: the line-break has chaged from escaped (XHTML style) to unescaped (HTML 4.01 style) and have had to modify Template Injection to suit. :)
updated by @hammondegs: 01/16/15 10:48:57PM
hammondegs
@hammondegs
9 years ago
80 posts
Just updated to Core version:5.2.22 and still getting linebreaks after list items and headings. Will this be fixed soon?
brian
@brian
9 years ago
10,148 posts
hammondegs:
Just updated to Core version:5.2.22 and still getting linebreaks after list items and headings. Will this be fixed soon?

I'm not aware of any further issues - if you're still seeing line breaks than something else is at play. Do you have a link to the page you're seeing it on so I can see it from here?

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
9 years ago
7,715 posts
Can see the issue here. Have added a fix for it for LI elements in 5.2.23. Let us know if you see it happening anywhere else.

Thanks.
hammondegs
@hammondegs
9 years ago
80 posts
Just updated to the latest core and list elements are fixed. However line-breaks still appear after headings e.g. h1 h2 h3 etc. It doesn't affect the appearance come rendering, yet as an anal MF, I find it annoying ;) If you get a chance, I would like it looked into.
Thanks, David.

Great work BTW.

Tags