Active
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2011 at 16:00 UTC
Updated:
27 Mar 2017 at 13:11 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerManually testing this worked fine on the current 7.x-3.x-dev version, see screenshot
so maybe provide additional information so people can reproduce your issue.
Maybe this is already fixed with 7.x-3.x-dev for you as well.
Comment #2
byrond commentedThe issue is with apostrophes in the title field. The example you give has an apostrophe in the content.
EDIT: Sorry. I misunderstood your screenshot. I see now that it is the section of the edit view page and not the edit node page.
Comment #3
dawehnerI just print out the title.
Comment #4
byrond commentedHere is a screencap of the view we had trouble with. We have "news" nodes that have a link field. We have a view that displays the news nodes, and one of the fields it displays is the link field. We have the link field set to "Title, as link". If the title of the node contains an apostrophe, it is converted to
"'". I just retested with the latest 7.x-3.x-dev and verified that it is still a problem.Comment #5
tahiticlic commentedThis is the
lfunction which is doing that.You've to use
in
lattributes argument to avoid it.Comment #6
webadpro commentedIm having the same issue, but its not with a link, but just the title itself.
--
Edit finally, it wasnt views related. I was using a token for my node, and it needed to be full html rather than plain text.
Comment #7
mgiffordI'm getting this from the title of the view I created. I'll just clone it to remove it but it was annoying. Showed up with the HTMLEntities in blocks and other places making it look bad.
To replicate just clone a view and entitle it "Mike's View". It's not dangerous, but it is ugly.
Comment #8
matmasr commentedI have been experiencing similar issues with Views 7.x-3.3. I have a view that is filtering nodes based on a taxonomy term. In that page layout, I have chosen to override the page title with my context argument "%1" which refers to the "taxonomy term with depth" context.
When a taxonomy term has a single quote ', such as "Mom's Day Out", it's displayed as "Mom's Day Out" instead. Also, when the title includes the "&" character is showing up as &Amp; instead. Is there a quick fix to this or am I configuring my view incorrectly ?
Comment #9
citricguy commented@tahiticlic
Can this be done using the UI?
Comment #10
tahiticlic commentedI guess no.
Comment #11
Linked25 commentedI am having this issue as well. Has there every been a fix for this?
Comment #12
thetech249 commentedI used this in the tpl file.
print str_replace('&', '&', $fields['title']->content);Comment #13
afoster commentedLooks like the same problem happens with read more links too
https://www.drupal.org/node/2374883
Comment #14
francewhoaSame here. We're confirming that this issue is still present in View 7.x-3.11
As a temporary fix, we used the
`character as an apostrophe'For example
Mom`s Day OutInstead of
Mom's Day OutComment #15
3dnathaniel commentedI am having this issue. Views fields that return content with apostrophes/ampersands returns unencoded text.
This seems like a major issue unless there is some workaround out there.
Comment #16
damienmckenna