Loading...
 
Skip to main content

In Tiki 27, using Markdown and a wiki plugin, some wiki page content is duplicated when the page edit screen is opened again

Status
Open
Subject
In Tiki 27, using Markdown and a wiki plugin, some wiki page content is duplicated when the page edit screen is opened again
Category
  • Bug
Resolution status
New
Submitted by
Gary Cunningham-Lee
Volunteered to solve
Elifeleti Mukisa Dan
Lastmod by
Elifeleti Mukisa Dan
Rating
(0)
Description

In Tiki 27, in a wiki page with Markdown editing, I tested PluginDIv to make (using two of the plugins, nested) a simple row and one-column layout. It works fine but when I open the edit screen to make a subsequent edit, I find this part of the page is duplicated, so I need to delete the second copy of the PluginDivs layout before doing any new editing of the page. If I don't delete it, it becomes part of the page content after saving.

Actually, the PluginDiv part of the page gets duplicated but the final div closing tag gets separated.

There seem to be more repetitions of the plugin section of the page in new edits. The ~np~{DIV(class="row")}~np~ is missing from the duplicate code, and the duplicated line of text is truncated to "This is new conte".

It seems to work ok in master. I made several edits to a page with the Markdown editor and PluginHTML and PluginDiv plus other text and the page content stays as it should, no duplication.



Files
  1. Markdown Plugin Problem2
  2. Markdown Plugin Problem1
Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
8681
Created
Monday 02 September, 2024 11:30:20 UTC
by Gary Cunningham-Lee
LastModif
Wednesday 19 November, 2025 13:12:55 UTC


Show PHP error messages