I just pushed a new version of my Diffy ruby gem.
This version does a better job when highlighting parts of lines in the html diff output.
Ward Cunningham pointed out to me that sometimes Diffy would get a little creative when finding similarities in between lines. For example, while technically correct Diffy 2.0.0 could come off as a bit of a know-it-all when it found one letter similarities between “Unescaped” and “Swallowed”.
- ==Links around Images==
- Images should link to absolute paths like ’/File:Picture.jpg’ instead of relative links (i.e. ‘File:Picture.jpg’).
- The later confuses my browser and causes it to link to file:///Picture.jpg, which won’t work at all.
==Unescaped html in nowiki tags==- ==Swallowed html in nowiki tags==
The break tag in here is rendered.- The break tag in here is not rendered as literal text despite being in nowiki and code tags. This differs from mediawiki’s behavior.
- “To create a line break put this <code><nowiki><br /></nowiki></code> in your markup.”
Version 2.0.1 suppresses this creativity a little bit for clearer output:
- ==Links around Images==
- Images should link to absolute paths like ’/File:Picture.jpg’ instead of relative links (i.e. ‘File:Picture.jpg’).
- The later confuses my browser and causes it to link to file:///Picture.jpg, which won’t work at all.
==Unescaped html in nowiki tags==- ==Swallowed html in nowiki tags==
The break tag in here is rendered.- The break tag in here is not rendered as literal text despite being in nowiki and code tags. This differs from mediawiki’s behavior.
- “To create a line break put this <code><nowiki><br /></nowiki></code> in your markup.”