Tiki tag ~ hs ~ is lost on wiki page duplication
- Status
- Closed
- Subject
- Tiki tag ~ hs ~ is lost on wiki page duplication
- Version
- 21.x
24.x - Category
- Bug
- Feature
- Wiki (page view, edit, history, rename, etc)
- Resolution status
- Confirmed
- Submitted by
- Jean-Marc Libs
- Volunteered to solve
- Jean-Marc Libs
- Lastmod by
- Jean-Marc Libs
- Rating
- Description
With the following Tiki configuration:
Pref value wysiwyg_default y wysiwyg_htmltowiki n
If I create a page which contains ~ hs~ (no space between ~ and hs), it works well as invisible hard spaces.
If I copy this page (from wiki → list pages → cogweel → copy), the new page displays ~ hs~ instead of white spaces.The root cause is, the first page has attribute is_html=0 but the copy has is_html=1.
- Solution
Some code in
lib/tikilib.php : function create_page()does not check that wysiwyg is actually set.https://gitlab.com/tikiwiki/tiki/-/commit/f8c2b018f93303f084dff5cc1a1e542c65e49cc3(reverted)
Ohhh, I see it's fixed in master (and only in master): https://gitlab.com/tikiwiki/tiki/-/commit/f11c2a48a46806ff18086508590baa97a7c8325e
Now backported (2023-06-05)
- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- 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
- 8411
- Created
- Tuesday 16 May, 2023 15:25:51 UTC
by Jean-Marc Libs - LastModif
- Sunday 04 June, 2023 22:12:12 UTC