I found this due to an interaction between TinyMCE and Freelinking. If an HTML entity, like """ is in the freelink such as [[fruit|apples "oranges" lemons]], the link is rendered as """, thus making the entity code visible. A workaround for this particular problem is to submit the post using literal quotes (") with rich text disabled.

Comments

socketwench’s picture

Correction:

The link is written in HTML code [[fruit|apples "oranges" lemons]].

socketwench’s picture

GAH! I can't type today...

[[fruit|apples "oranges" lemons]]

Maine’s picture

Version: 4.7.x-1.0 » master

This seems to be caused by urldecoding $thetitle in function _freelinking_exists in freelinking.module. Removing urldecode fixes this, but is it safe?

Maine’s picture

Status: Active » Needs work
StatusFileSize
new909 bytes

Disregard the previous comment - that's irrelevant. The real problem lies elsewhere: special characters need to be decoded before creating the link. Please, check the patch.

eafarris’s picture

Status: Needs work » Fixed

Fixed as part of freelinking-6.x-1.3.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

JaccoViljoen’s picture

Version: master » 6.x-1.4
Component: Miscellaneous » User interface
Status: Closed (fixed) » Active

Hi Eric,

I'm very new to Drupal, and loving it!

I finally found this page about my problem.

I'm using Freelinking with FCKEditor. When I add this in the content: [[wêreld]] , Drupal does not display anything whatsoever in the view of the document this content is added to.

Further, when I add the following: [[Omgee en "fellowship"]] , Drupal displays it in the view, but when I try to create the new pages content, it only puts "Omgee en " (without the quotes) in the new title line.

Do you have any advice? Am I missing some kind of Ascii table that contains special characters which Drupal needs to look up?

Thanks,
Jacco

eafarris’s picture

This sounds like it might be a bad interaction between freelinking and FCKEditor. Can you confirm that this still happens when FCKEditor is not part of the input formats? I suspect FCK is encoding the quotes, and freelinking is not playing nice.

JaccoViljoen’s picture

Eric,

I can confirm, when I deactivate FCKEditor for the wiki user permissions, [[wêreld]] becomes visible again, of course I can't do this, because my users don't know anything about html coding.

BTW, ê is not encoded to & ecirc; either...

The double quotes appear correctly in the new wiki page title only if I replace & quot; with a character " in the html text. FCKEditor had encoded my original " that I typed into the text as & quot;

Let me try this: http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/C...

Great! This was the solution! When ProcessHTMLEntities is turned off, all my issues are resolved!

Thanks for putting me on the right track!

Regards,
Jacco

JaccoViljoen’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

firewaller’s picture

Version: 6.x-1.4 » 7.x-3.8
Issue summary: View changes
StatusFileSize
new338 bytes

This issue persists for me on 7.x-3.8 with the following text:

[[nid:12345|Timmy & Johnny]]

Simple patch attached.