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.
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)
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |