Non-Breaking Space Character in Headers
- Status
- Closed
- Subject
- Non-Breaking Space Character in Headers
- Version
- 14.x
15.x - Category
- Error
- Feature
- Wiki Syntax (text area, parser, external wiki, etc)
- Resolution status
- Works For Me
- Submitted by
- Carlos0
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- Jonny Bradley
- Rating
- Description
Hello all,
I'm running into an issue that is causing the diamond and question mark to appear. At first I thought it was an encoding issue, but after looking at this more carefully, I think the root cause is specific to how the headers are generated in HTML.
To reproduce this bug:
1. Create a header in a wiki page with multiple words in it using the wiki editor.
2. Save the page and then View Source.If you see the header tag below, the second to last word contains " ". This happens to all the headers.
div class="icon_edit_section"><a title="Edit Section" href="tiki-editpage.php?page=CBusinessCreditReport&hdr=2"><span class="icon icon-edit fa fa-edit fa-fw " ></span></a></div><h1 class="showhide_heading" id="How_to_Order_a_Business_Credit_Report"> How to Order a Business Credit Report</h1>
3. Click on Edit to edit the page and switch over to the WYSIWYG editor.
4. Make any edits to the page. I just entered text in the body.
5. Preview the page. A diamond with a question mark will appear where the non-breaking space is located.
6. If the page is saved and you try to edit the page, you'll get the error message regarding an issue with the encoding.This issue only occurs if you are using the WYSIWYG editor. It seems to be converting that non-breaking space in the HTML to an unknown character. I was previously running 14.2 and upgraded to 15 to see if the non breaking space in the HTML would disappear, but the issue remains. At this point, this makes the WYIWYG editor unusable.
- Importance
- 6
- Easy to solve?
- 6
- Priority
- 36
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5947
- Created
- Thursday 26 May, 2016 17:27:26 UTC
by Carlos0 - LastModif
- Sunday 18 June, 2017 23:14:12 UTC