Closed (fixed)
Project:
Diff
Version:
4.7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Feb 2007 at 22:56 UTC
Updated:
2 Jul 2008 at 14:08 UTC
I've downloaded the lastest version of Diff and have a question.
1) When I look at revisions, it gives me an HTML view. Is there any way for the HTML to not show as code?
Thanks,
MatthewS
Comments
Comment #1
moshe weitzman commentedno. we show the differences in user input between two revisions. if users entered HTML, thats whats shown. The old way didn't really look or work very good.
Comment #2
toemaz commentedI agree on Moshe's feedback.
Comment #3
matthews commentedAha. Ok. I'm using TinyMCE to make text look "good" to clients (both internal to my organization and external to) so it seems that we might need to choose to not use TinyMCE if we want to use Diff in a readable way.
Comment #4
rötzi commentedSee here: http://drupal.org/node/125494
Comment #5
fool2 commentedA possible solution:
Convert formatting to some readable, non-html entity.
For instance,
could be converted to
which, when diffed, (say if you changed the color to red) would show
I think this would still alow people to track formatting changes without freaking the layperson out with html code (especially broken html code).
We shouldn't really be SEEING the formatting (aside from linebreaks) anyway as there is always the possibility that diff formatting conflicts with the formatting in the document.
The possible issues, however:
-Closing tags might still freak people out (how to encapsulate a formatted piece of text without them?)
-It would still pale in comparison to tools like "track changes"
-It might be more work than its worth
Comment #6
jonnyz commentedrotzi did a great job at addressing this issue using a setting in the admin area that allows you to specify whether you want the user to see all the markup or strip out html. I tested it out at some point and it worked great. He mentioned that he would work on getting it integrated at the end of march but i don't know where it stands. it had a bunch of other great changes as well built into that release. moshe...maybe you could work with rotzi to integrate? i don't code myself but would be more than happy to help test.
jz
Comment #7
moshe weitzman commented4.7 is old, and i'm not sure there is any todo here. i think the current diffs work nicely. please reopen as needed.
Comment #8
yurtboy commentedis this patch still working for the latest release of this module and drupal 5.x?