<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>attic/lib/node.rb</filename>
    </added>
    <added>
      <filename>attic/lib/sanitize.rb</filename>
    </added>
    <added>
      <filename>attic/test/unit/sanitize_test.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/README</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/Rakefile.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/constants.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/html5parser.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/inputstream.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/liberalxmlparser.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/sanitizer.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/tokenizer.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/treebuilders.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/treebuilders/base.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/treebuilders/hpricot.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/treebuilders/rexml.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/lib/html5lib/treebuilders/simpletree.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/tests/preamble.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/tests/test_encoding.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/tests/test_lxp.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/tests/test_parser.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/tests/test_sanitizer.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/tests/test_tokenizer.rb</filename>
    </added>
    <added>
      <filename>vendor/plugins/HTML5lib/tests/tokenizer_test_parser.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -294,13 +294,13 @@ class WikiController &lt; ApplicationController
 
   def s5
     if @web.markup == :markdownMML
-      @s5_content = sanitize_html(Maruku.new(@page.content.delete(&quot;\r\x01-\x08\x0B\x0C\x0E-\x1F&quot;),
+      @s5_content = sanitize_xhtml(Maruku.new(@page.content.delete(&quot;\r\x01-\x08\x0B\x0C\x0E-\x1F&quot;),
            {:math_enabled =&gt; true, :math_numbered =&gt; ['\\[','\\begin{equation}'], :content_only =&gt; true,
-            :author =&gt; @page.author, :title =&gt; @page.plain_name}).to_s5).to_ncr
+            :author =&gt; @page.author, :title =&gt; @page.plain_name}).to_s5.to_ncr)
     elsif @web.markup == :markdown
-      @s5_content = sanitize_html(Maruku.new(@page.content.delete(&quot;\r\x01-\x08\x0B\x0C\x0E-\x1F&quot;),
+      @s5_content = sanitize_xhtml(Maruku.new(@page.content.delete(&quot;\r\x01-\x08\x0B\x0C\x0E-\x1F&quot;),
            {:math_enabled =&gt; false, :content_only =&gt; true,
-            :author =&gt; @page.author, :title =&gt; @page.plain_name}).to_s5).to_ncr
+            :author =&gt; @page.author, :title =&gt; @page.plain_name}).to_s5.to_ncr)
     else
       @s5_content = &quot;S5 not supported with this text filter&quot;
     end</diff>
      <filename>app/controllers/wiki_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -32,7 +32,7 @@ module Engines
       redcloth.filter_html = false
       redcloth.no_span_caps = false  
       html = redcloth.to_html(:textile)
-      sanitize_html(html)
+      sanitize_xhtml(html)
     end
   end
 
@@ -43,7 +43,7 @@ module Engines
       require_dependency 'maruku'
       require_dependency 'maruku/ext/math'
       html = Maruku.new(@content.delete(&quot;\r\x01-\x08\x0B\x0C\x0E-\x1F&quot;), {:math_enabled =&gt; false}).to_html
-      sanitize_html(html).to_ncr
+      sanitize_xhtml(html.to_ncr)
     end
   end
 
@@ -55,7 +55,7 @@ module Engines
       require_dependency 'maruku/ext/math'
       html = Maruku.new(@content.delete(&quot;\r\x01-\x08\x0B\x0C\x0E-\x1F&quot;),
             {:math_enabled =&gt; true, :math_numbered =&gt; ['\\[','\\begin{equation}']}).to_html
-      sanitize_html(html).to_ncr
+      sanitize_xhtml(html.to_ncr)
     end
   end
 
@@ -68,7 +68,7 @@ module Engines
       redcloth.filter_html = false
       redcloth.no_span_caps = false
       html = redcloth.to_html
-      sanitize_html(html)
+      sanitize_xhtml(html)
     end
   end
 
@@ -78,7 +78,7 @@ module Engines
     def mask
       require_dependency 'rdocsupport'
       html = RDocSupport::RDocFormatter.new(@content).to_html
-      sanitize_html(html)
+      sanitize_xhtml(html)
     end
   end
 </diff>
      <filename>lib/chunks/engines.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,207 +1,26 @@
 module Sanitize
 
-# This module provides sanitization of XHTML+MathML+SVG
+# This module provides sanitization of XHTML+MathML+SVG 
 # and of inline style attributes.
 #
-# Based heavily on Sam Ruby's code in the Universal FeedParser.
-
-  require 'html/tokenizer'
-  require 'node'
-
-  acceptable_elements = ['a', 'abbr', 'acronym', 'address', 'area', 'b',
-      'big', 'blockquote', 'br', 'button', 'caption', 'center', 'cite',
-      'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt',
-      'em', 'fieldset', 'font', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
-      'hr', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'map',
-      'menu', 'ol', 'optgroup', 'option', 'p', 'pre', 'q', 's', 'samp',
-      'select', 'small', 'span', 'strike', 'strong', 'sub', 'sup', 'table',
-      'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'tr', 'tt', 'u',
-      'ul', 'var']
-      
-  mathml_elements = ['maction', 'math', 'merror', 'mfrac', 'mi',
-      'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom',
-      'mprescripts', 'mroot', 'mrow', 'mspace', 'msqrt', 'mstyle', 'msub',
-      'msubsup', 'msup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder',
-      'munderover', 'none']
-      
-  svg_elements = ['a', 'animate', 'animateColor', 'animateMotion',
-      'animateTransform', 'circle', 'defs', 'desc', 'ellipse', 'font-face',
-      'font-face-name', 'font-face-src', 'g', 'glyph', 'hkern', 'image',
-      'linearGradient', 'line', 'marker', 'metadata', 'missing-glyph',
-      'mpath', 'path', 'polygon', 'polyline', 'radialGradient', 'rect',
-      'set', 'stop', 'svg', 'switch', 'text', 'title', 'tspan', 'use']
-      
-  acceptable_attributes = ['abbr', 'accept', 'accept-charset', 'accesskey',
-      'action', 'align', 'alt', 'axis', 'border', 'cellpadding',
-      'cellspacing', 'char', 'charoff', 'charset', 'checked', 'cite', 'class',
-      'clear', 'cols', 'colspan', 'color', 'compact', 'coords', 'datetime',
-      'dir', 'disabled', 'enctype', 'for', 'frame', 'headers', 'height',
-      'href', 'hreflang', 'hspace', 'id', 'ismap', 'label', 'lang',
-      'longdesc', 'maxlength', 'media', 'method', 'multiple', 'name',
-      'nohref', 'noshade', 'nowrap', 'prompt', 'readonly', 'rel', 'rev',
-      'rows', 'rowspan', 'rules', 'scope', 'selected', 'shape', 'size',
-      'span', 'src', 'start', 'style', 'summary', 'tabindex', 'target', 'title',
-      'type', 'usemap', 'valign', 'value', 'vspace', 'width', 'xml:lang']
-
-
-  mathml_attributes = ['actiontype', 'align', 'columnalign', 'columnalign',
-      'columnalign', 'columnlines', 'columnspacing', 'columnspan', 'depth',
-      'display', 'displaystyle', 'equalcolumns', 'equalrows', 'fence',
-      'fontstyle', 'fontweight', 'frame', 'height', 'linethickness', 'lspace',
-      'mathbackground', 'mathcolor', 'mathvariant', 'mathvariant', 'maxsize',
-      'minsize', 'other', 'rowalign', 'rowalign', 'rowalign', 'rowlines',
-      'rowspacing', 'rowspan', 'rspace', 'scriptlevel', 'selection',
-      'separator', 'stretchy', 'width', 'width', 'xlink:href', 'xlink:show',
-      'xlink:type', 'xmlns', 'xmlns:xlink']
-
-      
-  svg_attributes = ['accent-height', 'accumulate', 'additive', 'alphabetic',
-       'arabic-form', 'ascent', 'attributeName', 'attributeType',
-       'baseProfile', 'bbox', 'begin', 'by', 'calcMode', 'cap-height',
-       'class', 'color', 'color-rendering', 'content', 'cx', 'cy', 'd', 'dx',
-       'dy', 'descent', 'display', 'dur', 'end', 'fill', 'fill-rule',
-       'font-family', 'font-size', 'font-stretch', 'font-style', 'font-variant',
-       'font-weight', 'from', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 
-       'gradientUnits', 'hanging', 'height', 'horiz-adv-x', 'horiz-origin-x',
-       'id', 'ideographic', 'k', 'keyPoints', 'keySplines', 'keyTimes',
-       'lang', 'marker-end', 'marker-mid', 'marker-start', 'markerHeight',
-       'markerUnits', 'markerWidth', 'mathematical', 'max', 'min', 'name',
-       'offset', 'opacity', 'orient', 'origin', 'overline-position',
-       'overline-thickness', 'panose-1', 'path', 'pathLength', 'points',
-       'preserveAspectRatio', 'r', 'refX', 'refY', 'repeatCount', 'repeatDur',
-       'requiredExtensions', 'requiredFeatures', 'restart', 'rotate', 'rx',
-       'ry', 'slope', 'stemh', 'stemv', 'stop-color', 'stop-opacity',
-       'strikethrough-position', 'strikethrough-thickness', 'stroke',
-       'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap',
-       'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity',
-       'stroke-width', 'systemLanguage', 'target',
-       'text-anchor', 'to', 'transform', 'type', 'u1', 'u2',
-       'underline-position', 'underline-thickness', 'unicode',
-       'unicode-range', 'units-per-em', 'values', 'version', 'viewBox',
-       'visibility', 'width', 'widths', 'x', 'x-height', 'x1', 'x2',
-       'xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role',
-       'xlink:show', 'xlink:title', 'xlink:type', 'xml:base', 'xml:lang',
-       'xml:space', 'xmlns', 'xmlns:xlink', 'y', 'y1', 'y2', 'zoomAndPan']
-
-  attr_val_is_uri = ['href', 'src', 'cite', 'action', 'longdesc', 'xlink:href']
-  
-  acceptable_css_properties = ['azimuth', 'background-color',
-      'border-bottom-color', 'border-collapse', 'border-color',
-      'border-left-color', 'border-right-color', 'border-top-color', 'clear',
-      'color', 'cursor', 'direction', 'display', 'elevation', 'float', 'font',
-      'font-family', 'font-size', 'font-style', 'font-variant', 'font-weight',
-      'height', 'letter-spacing', 'line-height', 'overflow', 'pause',
-      'pause-after', 'pause-before', 'pitch', 'pitch-range', 'richness',
-      'speak', 'speak-header', 'speak-numeral', 'speak-punctuation',
-      'speech-rate', 'stress', 'text-align', 'text-decoration', 'text-indent',
-      'unicode-bidi', 'vertical-align', 'voice-family', 'volume',
-      'white-space', 'width']
-
-  acceptable_css_keywords = ['auto', 'aqua', 'black', 'block', 'blue',
-      'bold', 'both', 'bottom', 'brown', 'center', 'collapse', 'dashed',
-      'dotted', 'fuchsia', 'gray', 'green', '!important', 'italic', 'left',
-      'lime', 'maroon', 'medium', 'none', 'navy', 'normal', 'nowrap', 'olive',
-      'pointer', 'purple', 'red', 'right', 'solid', 'silver', 'teal', 'top',
-      'transparent', 'underline', 'white', 'yellow']
-
-  acceptable_svg_properties = [ 'fill', 'fill-opacity', 'fill-rule',
-      'stroke', 'stroke-width', 'stroke-linecap', 'stroke-linejoin',
-      'stroke-opacity']
-
-  acceptable_protocols = [ 'ed2k', 'ftp', 'http', 'https', 'irc',
-      'mailto', 'news', 'gopher', 'nntp', 'telnet', 'webcal',
-      'xmpp', 'callto', 'feed', 'urn', 'aim', 'rsync', 'tag',
-      'ssh', 'sftp', 'rtsp', 'afs' ]
-
-      ALLOWED_ELEMENTS = acceptable_elements + mathml_elements + svg_elements  unless defined?(ALLOWED_ELEMENTS)
-      ALLOWED_ATTRIBUTES = acceptable_attributes + mathml_attributes + svg_attributes unless defined?(ALLOWED_ATTRIBUTES)
-      ALLOWED_CSS_PROPERTIES = acceptable_css_properties unless defined?(ALLOWED_CSS_PROPERTIES)
-      ALLOWED_CSS_KEYWORDS = acceptable_css_keywords unless defined?(ALLOWED_CSS_KEYWORDS)
-      ALLOWED_SVG_PROPERTIES = acceptable_svg_properties unless defined?(ALLOWED_SVG_PROPERTIES)
-      ALLOWED_PROTOCOLS = acceptable_protocols unless defined?(ALLOWED_PROTOCOLS)
-      ATTR_VAL_IS_URI = attr_val_is_uri unless defined?(ATTR_VAL_IS_URI)
-
-      # Sanitize the +html+, escaping all elements not in ALLOWED_ELEMENTS, and stripping out all
-      # attributes not in ALLOWED_ATTRIBUTES. Style attributes are parsed, and a restricted set,
-      # specified by ALLOWED_CSS_PROPERTIES and ALLOWED_CSS_KEYWORDS, are allowed through.
-      # attributes in ATTR_VAL_IS_URI are scanned, and only URI schemes specified in
-      # ALLOWED_PROTOCOLS are allowed.
-      # You can adjust what gets sanitized, by defining these constant arrays before this Module is loaded. 
-      #
-      #   sanitize_html('&lt;script&gt; do_nasty_stuff() &lt;/script&gt;')
-      #    =&gt; &amp;lt;script&gt; do_nasty_stuff() &amp;lt;/script&gt;
-      #   sanitize_html('&lt;a href=&quot;javascript: sucker();&quot;&gt;Click here for $100&lt;/a&gt;')
-      #    =&gt; &lt;a&gt;Click here for $100&lt;/a&gt;
-      def sanitize_html(html)
-        if html.index(&quot;&lt;&quot;)
-          tokenizer = HTML::Tokenizer.new(html)
-          new_text = &quot;&quot;
+# Uses the HTML5lib parser, so that the parsing behaviour should
+# resemble that of browsers.
+#
+#  sanitize_xhtml() is a case-sensitive sanitizer, suitable for XHTML
+#  sanitize_html() is a case-insensitive sanitizer suitable for HTML
 
-          while token = tokenizer.next
-            node = XHTML::Node.parse(nil, 0, 0, token, false)
-            new_text &lt;&lt; case node.tag?
-              when true
-                if ALLOWED_ELEMENTS.include?(node.name)
-                  if node.closing != :close
-                    node.attributes.delete_if { |attr,v| !ALLOWED_ATTRIBUTES.include?(attr) }
-                    ATTR_VAL_IS_URI.each do |attr|
-                      val_unescaped = CGI.unescapeHTML(node.attributes[attr].to_s).gsub(/[\000-\040\177-\240]+/,'').downcase
-                      if val_unescaped =~ /^[a-z0-9][-+.a-z0-9]*:/ and !ALLOWED_PROTOCOLS.include?(val_unescaped.split(':')[0]) 
-                        node.attributes.delete attr 
-                      end
-                    end
-                    if node.attributes['style']
-                      node.attributes['style'] = sanitize_css(node.attributes['style']) 
-                    end
-                  end
-                  node.to_s
-                else
-                  node.to_s.gsub(/&lt;/, &quot;&amp;lt;&quot;)
-                end
-              else
-                node.to_s.gsub(/&lt;/, &quot;&amp;lt;&quot;)
-            end
-          end
 
-          html = new_text
-        end
-        html
-      end
-      
-      def sanitize_css(style)
-          # disallow urls
-          style = style.to_s.gsub(/url\s*\(\s*[^\s)]+?\s*\)\s*/, ' ')
+  require 'html5lib/sanitizer'
+  require 'html5lib/html5parser'
+  require 'html5lib/liberalxmlparser'
+  include HTML5lib
 
-          # gauntlet
-          if style !~ /^([:,;#%.\sa-zA-Z0-9!]|\w-\w|\'[\s\w]+\'|\&quot;[\s\w]+\&quot;|\([\d,\s]+\))*$/
-             style = ''
-             return style
-          end
-          if style !~ /^(\s*[-\w]+\s*:\s*[^:;]*(;|$))*$/
-             style = ''
-             return style
-          end
+  def sanitize_xhtml(html)
+    XHTMLParser.parseFragment(html, :tokenizer =&gt; HTMLSanitizer).to_s
+  end
 
-          clean = []
-          style.scan(/([-\w]+)\s*:\s*([^:;]*)/) do |prop,val|
-            if ALLOWED_CSS_PROPERTIES.include?(prop.downcase)
-              clean &lt;&lt;  prop + ': ' + val + ';'
-            elsif ['background','border','margin','padding'].include?(prop.split('-')[0].downcase) 
-              goodval = true
-              val.split().each do |keyword|
-                if !ALLOWED_CSS_KEYWORDS.include?(keyword) and 
-                   keyword !~ /^(#[0-9a-f]+|rgb\(\d+%?,\d*%?,?\d*%?\)?|\d{0,2}\.?\d{0,2}(cm|em|ex|in|mm|pc|pt|px|%|,|\))?)$/
-                  goodval = false
-                end
-              end
-              if goodval 
-                clean &lt;&lt;  prop + ': ' + val + ';'
-              end
-            elsif ALLOWED_SVG_PROPERTIES.include?(prop.downcase)
-               clean &lt;&lt;  prop + ': ' + val + ';'
-            end
-          end
+  def sanitize_html(html)
+    HTMLParser.parseFragment(html, :tokenizer =&gt; HTMLSanitizer).to_s
+  end
 
-          style = clean.join(' ')
-      end
-end      
+end</diff>
      <filename>lib/sanitize.rb</filename>
    </modified>
    <modified>
      <diff>@@ -31,6 +31,9 @@ Globals = {
 	:maruku_signature =&gt; false,
 	:code_background_color =&gt; '#fef',
 	:code_show_spaces =&gt; false,
+	
+	:filter_html =&gt; false,
+	
 	:html_math_output_mathml =&gt; true, # also set :html_math_engine
 	:html_math_engine =&gt; 'itex2mml', #ritex, itex2mml, none
 	</diff>
      <filename>vendor/plugins/maruku/lib/maruku/defaults.rb</filename>
    </modified>
    <modified>
      <diff>@@ -477,7 +477,7 @@ module MaRuKu; module In; module Markdown; module BlockLevelParser
 		end
 		
 		id = match[1]; url = match[2]; title = match[3]; 
-		id = id.strip.downcase.gsub(' ','_')
+		id = sanitize_ref_id(id)
 		
 		hash = self.refs[id] = {:url=&gt;url,:title=&gt;title}
 		</diff>
      <filename>vendor/plugins/maruku/lib/maruku/input/parse_block.rb</filename>
    </modified>
    <modified>
      <diff>@@ -287,7 +287,7 @@ module MaRuKu; module In; module Markdown; module SpanLevelParser
 	end
 
 	def extension_meta(src, con, break_on_chars)
-		if m = src.read_regexp(/([^\s\:]+):/)
+		if m = src.read_regexp(/([^\s\:\&quot;\']+):/)
 			name = m[1]
 			al = read_attribute_list(src, con, break_on_chars)
 #			puts &quot;#{name}=#{al.inspect}&quot;
@@ -581,9 +581,9 @@ module MaRuKu; module In; module Markdown; module SpanLevelParser
 			ref_id = read_ref_id(src,con)
 			if ref_id
 				if ref_id.size == 0
-					ref_id =  children.to_s.downcase.gsub(' ','_')
+					ref_id = sanitize_ref_id(children.to_s)
 				else
-					ref_id = ref_id.downcase
+					ref_id = sanitize_ref_id(ref_id)
 				end	
 				con.push_element md_link(children, ref_id)
 			else </diff>
      <filename>vendor/plugins/maruku/lib/maruku/input/parse_span_better.rb</filename>
    </modified>
    <modified>
      <diff>@@ -108,6 +108,7 @@ module MaRuKu
 		# Input is a LineSource
 		def t2_parse_blocks(src, output)
 			while src.cur_line
+				l = src.shift_line
 				
 				# ignore empty line
 				if l.t2_empty? then 
@@ -115,7 +116,6 @@ module MaRuKu
 					next 
 				end
 				
-				l = src.shift_line
 				# TODO: lists
 				# TODO: xml
 				# TODO: `==`</diff>
      <filename>vendor/plugins/maruku/lib/maruku/input_textile2/t2_parser.rb</filename>
    </modified>
    <modified>
      <diff>@@ -741,7 +741,17 @@ of the form `#ff00ff`.
 		return a
 	end
 
+=begin maruku_doc
+Attribute: filter_html
+Scope: document
+
+If true, raw HTML is discarded from the output.
+
+=end
+
 	def to_html_raw_html
+		return [] if get_setting(:filter_html)
+		
 		raw_html = self.raw_html
 		if rexml_doc = @parsed_html
 			root = rexml_doc.root</diff>
      <filename>vendor/plugins/maruku/lib/maruku/output/to_html.rb</filename>
    </modified>
    <modified>
      <diff>@@ -152,7 +152,7 @@ end end
 module MaRuKu; module Out; module Latex
 	
 	def to_latex_hrule; &quot;\n\\vspace{.5em} \\hrule \\vspace{.5em}\n&quot; end
-	def to_latex_linebreak; &quot;\\linebreak &quot; end
+	def to_latex_linebreak; &quot;\\newline &quot; end
 	
 	def to_latex_paragraph 
 		children_to_latex+&quot;\n\n&quot;</diff>
      <filename>vendor/plugins/maruku/lib/maruku/output/to_latex.rb</filename>
    </modified>
    <modified>
      <diff>@@ -146,6 +146,10 @@ module MaRuKu; module Strings
 		s[0, i+1].strip
 	end
 	
+	def sanitize_ref_id(x)
+		x.downcase.gsub(' ','_').gsub(/[^\w]/,'')
+	end
+
 
 	# removes initial quote
 	def unquote(s)</diff>
      <filename>vendor/plugins/maruku/lib/maruku/string_utils.rb</filename>
    </modified>
    <modified>
      <diff>@@ -155,7 +155,7 @@ module MaRuKu; module Tests
 		[&quot;[a]&quot;,   [ md_link([&quot;a&quot;],'a')], 'Empty link'],
 		[&quot;[a][]&quot;, ],
 		[&quot;[a][]b&quot;,   [ md_link([&quot;a&quot;],'a'),'b'], 'Empty link'],
-		[&quot;[a\\]][]&quot;, [ md_link([&quot;a]&quot;],'a]')], 'Escape inside link'],
+		[&quot;[a\\]][]&quot;, [ md_link([&quot;a]&quot;],'a')], 'Escape inside link (throw ?] away)'],
 		
 		[&quot;[a&quot;,  :throw,   'Link not closed'],
 		[&quot;[a][&quot;,  :throw,   'Ref not closed'],</diff>
      <filename>vendor/plugins/maruku/lib/maruku/tests/new_parser.rb</filename>
    </modified>
    <modified>
      <diff>@@ -19,7 +19,7 @@
 #++
 
 module MaRuKu
-	Version = '0.5.5'
+	Version = '0.5.6'
 	
 	MarukuURL = 'http://maruku.rubyforge.org/'
 	</diff>
      <filename>vendor/plugins/maruku/lib/maruku/version.rb</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>lib/node.rb</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>457ec8627c3507e234a58bdb1fd5619d511e271b</id>
    </parent>
  </parents>
  <author>
    <name>Jacques Distler</name>
    <email>distler@golem.ph.utexas.edu</email>
  </author>
  <url>http://github.com/parasew/instiki/commit/6b21ac484f3e345723bc48d8e2a8d6753019b591</url>
  <id>6b21ac484f3e345723bc48d8e2a8d6753019b591</id>
  <committed-date>2007-05-25T18:52:27-07:00</committed-date>
  <authored-date>2007-05-25T18:52:27-07:00</authored-date>
  <message>HTML5lib Sanitizer
Replaced native Sanitizer with HTML5lib version.
Synced with latest Maruku.</message>
  <tree>76d48a469fd4fd00cfbf219c3957bc6a5c833dad</tree>
  <committer>
    <name>Jacques Distler</name>
    <email>distler@golem.ph.utexas.edu</email>
  </committer>
</commit>
