Loading...
 
Skip to main content

Special Characters with tilde ~ don't seem to work

Status
Closed
Subject
Special Characters with tilde ~ don't seem to work
Version
2.x
Category
  • Error
Feature
WYSIWYG (What You See is What You Get)
Wiki Syntax (text area, parser, external wiki, etc)
Copyright
Edit interface (UI)
Resolution status
Fixed or Solved
Submitted by
mrisch
Volunteered to solve
mrisch
Lastmod by
mrisch
Rating
(0)
Description

Wiki Syntax for special characters seems to fail in 1.10 (I can get it in WYSIWYG). Thus, ~169~ no longer shows the copyright symbol.

The problem appears to lie in TikiLib - parse_data
if (!$simple_wiki and $prefs'feature_wysiwyg' == 'n') {
$this->parse_htmlchar($data);

Here's this issue - I have WYSIWYG set to Y, but NOT showing by default. It seems that the test should be whether WYSIWYG is actually showing - I have no idea what the variable is.

Solution

I replaced:
if (!$simple_wiki and $prefs'feature_wysiwyg' == 'n') {
$this->parse_htmlchar($data);

with:
if (!$simple_wiki and $_SESSION'wysiwyg' == 'n') {
$this->parse_htmlchar($data);

in tikilib=>parse_data and it appears to work.

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
This bug has been demonstrated on show2.tiki.org
Demonstrate Bug (older Tiki versions)
Ticket ID
1471
Created
Monday 31 December, 2007 14:46:04 UTC
by Unknown
LastModif
Sunday 18 June, 2017 23:01:14 UTC


Collapse/expand modules below
Show PHP error messages