Loading...
 
Skip to main content

Wiki-syntax parsing is different in lot of other places than in Wiki

Status
Closed
Subject
Wiki-syntax parsing is different in lot of other places than in Wiki
Version
1.9.x
Category
  • Error
Feature
All / Undefined
Wiki (page view, edit, history, rename, etc)
Wiki Syntax (text area, parser, external wiki, etc)
Resolution status
Not enough information
Submitted by
amette
Lastmod by
marcelf
Rating
(0)
Description

You can see the effect of Wiki-syntax getting parsed differently with the ~np~ tag and the {CODE()} -plugin.

text here - strips all linebreaks out of "text here" - ~pp~ works

test
Copy to clipboard
text here and some enclosed in <these brackets> here
The text between the <>-brackets doesn't get shown at all.


Also, (just in case it's related): tiki-view_blog.php complains to admin user about a division by zero by split plugin (tiki 1.9.2):

  • Copy to clipboard
    Warning: Division by zero in /var/lib/gforge/chroot/home/groups/gclub/htdocs/lib/wiki-plugins/wikiplugin_split.php on line 74
  • This warning message was not present with 1.9.1. (Xavi - xavidp)


The blogs were htmlspecialchar()ed, too - it looks like fixed in CVS now!

Solution

parse_data$data
is one possible solution, but it then breaks HTML (currently in Article-preview).

blogs o some apply_postedit_filter() - that's the way to do??
Blogs render the "caption" of the Code plugin in tiki-view_blog.php - just as an "&" (an ampersand).
In tiki-view_blog_post.php the code-plugin has the missing "<>"-bug

Importance
3
Priority
15
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
360
Created
Friday 07 October, 2005 19:09:24 UTC
by Unknown
LastModif
Thursday 30 September, 2021 12:20:00 UTC


Show PHP error messages