You are here: Home > Latest news from Darcs > Imports changes from Mediacloth revision r124

Revision 20080507210933-9043f-fe9eaa...

Imports changes from Mediacloth revision r124

vendor/mediacloth-trunk/lib/mediacloth/mediawikihtmlgenerator.rb
vendor/mediacloth-trunk/test/data/html1
vendor/mediacloth-trunk/test/data/html9
vendor/mediacloth-trunk/test/data/input1
vendor/mediacloth-trunk/test/data/lex1

Changes to mediawikihtmlgenerator.rb

49
    # Utility method that converts the string specified into a specially formatted text
    # Utility method that converts the string specified into a specially formatted text
49
50
    # string which can be used as an XHTML link anchor name.
    # string which can be used as an XHTML link anchor name.
50
51
    def MediaWikiHTMLGenerator.anchor_for(str)
    def MediaWikiHTMLGenerator.anchor_for(str)
51
52
      str.strip.squeeze(' ').gsub(' ', '_')
      str.strip.squeeze(' ').gsub(' ', '_').gsub('\'', '_')
52
53
    end
    end
53
54
54
55
    
    
55

Changes to html1

23
23
24
</p><ul><li>foo
</p><ul><li>foo
24
25
</li><li> foo2
</li><li> foo2
25
26
</li></ul>
</li></ul><h2><a name='There_aren_t_any_closing_quotes_inside_this_headline_s_name'></a> There aren't any closing quotes inside this headline's name </h2>
26

Changes to html9

11
11
12
</p><p>Text escaped in a heading:
</p><p>Text escaped in a heading:
12
13
13
14
</p><h2><a name='Heading_with_''''></a>Heading with '''</h2>
</p><h2><a name='Heading_with____'></a>Heading with '''</h2>
14

Changes to input1

32
32
33
*foo
*foo
33
34
* foo2
* foo2
34
 
35
 
== There aren't any closing quotes inside this headline's name ==
36

Changes to lex1

23
23
24
PARA_ENDUL_STARTLI_STARTTEXTfoo
PARA_ENDUL_STARTLI_STARTTEXTfoo
24
25
LI_ENDLI_STARTTEXT foo2
LI_ENDLI_STARTTEXT foo2
25
26
LI_ENDUL_ENDfalsefalse
LI_ENDUL_ENDSECTION_START==TEXT There aren't any closing quotes inside this headline's name SECTION_END==falsefalse
26