compages 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.project +18 -0
- data/README +180 -0
- data/Rakefile +10 -0
- data/app/controllers/application.rb +4 -0
- data/app/controllers/contents_controller.rb +116 -0
- data/app/controllers/pages_controller.rb +59 -0
- data/app/controllers/render_controller.rb +24 -0
- data/app/helpers/application_helper.rb +6 -0
- data/app/helpers/contents_helper.rb +5 -0
- data/app/helpers/pages_helper.rb +5 -0
- data/app/helpers/render_helper.rb +2 -0
- data/app/models/content.rb +26 -0
- data/app/models/meta_data.rb +3 -0
- data/app/models/page.rb +106 -0
- data/app/models/page_element.rb +9 -0
- data/app/views/contents/_content_preview.rhtml +1 -0
- data/app/views/contents/_contents_list.rhtml +3 -0
- data/app/views/contents/_show_library.rhtml +60 -0
- data/app/views/contents/_write_now.rhtml +42 -0
- data/app/views/layouts/pages.rhtml +24 -0
- data/app/views/layouts/render.rhtml +11 -0
- data/app/views/pages/_change_theme.rhtml +0 -0
- data/app/views/pages/_edit_menu.rhtml +62 -0
- data/app/views/pages/_page_listed.rhtml +13 -0
- data/app/views/pages/_select_theme.rhtml +4 -0
- data/app/views/pages/edit.rhtml +35 -0
- data/app/views/pages/index.rhtml +45 -0
- data/app/views/pages/list.rhtml +41 -0
- data/app/views/pages/list_a.rhtml +40 -0
- data/app/views/pages/welcome.rhtml +27 -0
- data/app/views/render/_blank.rhtml +3 -0
- data/app/views/render/show.rhtml +1 -0
- data/bin/compages +14 -0
- data/config/boot.rb +44 -0
- data/config/database.yml.home +35 -0
- data/config/environment.rb +53 -0
- data/config/environments/development.rb +21 -0
- data/config/environments/production.rb +18 -0
- data/config/environments/test.rb +19 -0
- data/config/routes.rb +32 -0
- data/db/Copia di schema.rb +48 -0
- data/db/migrate/001_create_pages.rb +12 -0
- data/db/migrate/002_create_contents.rb +12 -0
- data/db/migrate/003_create_meta_datas.rb +14 -0
- data/db/migrate/004_create_page_elements.rb +17 -0
- data/db/migrate/005_add_urlnames.rb +15 -0
- data/db/migrate/006_add_sessions.rb +15 -0
- data/db/schema.mysql.sql +65 -0
- data/db/schema.postgresql.sql +65 -0
- data/db/schema.rb +49 -0
- data/db/schema.sqlite.sql +65 -0
- data/db/schema.sqlserver.sql +71 -0
- data/db/schema_version +1 -0
- data/doc/ER-model/v1.dia +0 -0
- data/doc/ER-model/v2.dia +0 -0
- data/doc/ER-model/v3.dia +0 -0
- data/doc/README_FOR_APP +2 -0
- data/doc/esempi/doc-vir/ecds.htm +2362 -0
- data/doc/esempi/doc-vir/ecds_files/search.gif +0 -0
- data/doc/esempi/doc-vir/ecds_files/upld.gif +0 -0
- data/doc/esempi/doc-vir/ecds_files/upld.jpg +0 -0
- data/installer/apache13.conf.example.template +33 -0
- data/installer/apache20.conf.example.template +40 -0
- data/installer/lighttpd.conf.example.template +6 -0
- data/installer/rails_installer_defaults.yml +5 -0
- data/lib/redcloth.rb +1130 -0
- data/lib/render_engine.rb +94 -0
- data/lib/tasks/release.rake +46 -0
- data/public/.htaccess +41 -0
- data/public/404.html +8 -0
- data/public/500.html +8 -0
- data/public/_index.html +277 -0
- data/public/favicon.ico +0 -0
- data/public/images/body_bg.gif +0 -0
- data/public/images/body_bg_short.gif +0 -0
- data/public/images/ie_shadow.png +0 -0
- data/public/images/journal_reflex.gif +0 -0
- data/public/images/journal_shadow.gif +0 -0
- data/public/images/logo_journal_small.bmp +0 -0
- data/public/images/logo_journal_small.png +0 -0
- data/public/images/page_edit_shadow.png +0 -0
- data/public/images/restore_bar.png +0 -0
- data/public/images/spinner.gif +0 -0
- data/public/javascripts/application.js +23 -0
- data/public/javascripts/controls.js +815 -0
- data/public/javascripts/dragdrop.js +913 -0
- data/public/javascripts/effects.js +958 -0
- data/public/javascripts/lowpro.js +307 -0
- data/public/javascripts/prototype.js +2006 -0
- data/public/robots.txt +1 -0
- data/public/stylesheets/compages.css +196 -0
- data/public/stylesheets/editing.css +180 -0
- data/public/stylesheets/editing_ie_filth.css +36 -0
- data/public/themes/Doc_basic/_script.js +342 -0
- data/public/themes/Doc_basic/images/Thumbs.db +0 -0
- data/public/themes/Doc_basic/images/search.gif +0 -0
- data/public/themes/Doc_basic/images/upld.gif +0 -0
- data/public/themes/Doc_basic/images/upld.jpg +0 -0
- data/public/themes/Doc_basic/index.html +114 -0
- data/public/themes/Doc_basic/style.css +1743 -0
- data/public/themes/color7boxes/default2.css +42 -0
- data/public/themes/color7boxes/index.html +40 -0
- data/public/themes/prova/index.html +12 -0
- data/public/zDoc/images/search.gif +0 -0
- data/public/zDoc/images/upld.gif +0 -0
- data/public/zDoc/images/upld.jpg +0 -0
- data/public/zDoc/index.html +176 -0
- data/public/zDoc/script.js +342 -0
- data/public/zDoc/style.css +1741 -0
- data/script/about +3 -0
- data/script/breakpointer +3 -0
- data/script/console +3 -0
- data/script/destroy +3 -0
- data/script/generate +3 -0
- data/script/performance/benchmarker +3 -0
- data/script/performance/profiler +3 -0
- data/script/plugin +3 -0
- data/script/process/reaper +3 -0
- data/script/process/spawner +3 -0
- data/script/runner +3 -0
- data/script/server +3 -0
- data/test/fixtures/contents.yml +5 -0
- data/test/fixtures/meta_datas.yml +5 -0
- data/test/fixtures/page_elements.yml +5 -0
- data/test/fixtures/pages.yml +5 -0
- data/test/functional/contents_controller_test.rb +18 -0
- data/test/functional/pages_controller_test.rb +18 -0
- data/test/functional/render_controller_test.rb +18 -0
- data/test/test_helper.rb +28 -0
- data/test/unit/content_test.rb +10 -0
- data/test/unit/meta_data_test.rb +10 -0
- data/test/unit/page_element_test.rb +10 -0
- data/test/unit/page_test.rb +10 -0
- data/tmp/sessions/ruby_sess.0ced4c30e36477ab +0 -0
- data/tmp/sessions/ruby_sess.20fbe26671422e70 +0 -0
- data/tmp/sessions/ruby_sess.2c72521f3a7e2ba9 +0 -0
- data/tmp/sessions/ruby_sess.4107a69d982a2eb7 +0 -0
- data/tmp/sessions/ruby_sess.573ded9c7fdd9035 +0 -0
- data/tmp/sessions/ruby_sess.5a9767815bb96258 +0 -0
- data/tmp/sessions/ruby_sess.85d723b794005388 +0 -0
- data/tmp/sessions/ruby_sess.875b3b3e3529afdb +0 -0
- data/tmp/sessions/ruby_sess.936766f3a397c88b +0 -0
- data/tmp/sessions/ruby_sess.984e2e4c9a2e7891 +0 -0
- data/tmp/sessions/ruby_sess.a1faebd7448bc45d +0 -0
- data/tmp/sessions/ruby_sess.a415768c7635bc15 +0 -0
- data/tmp/sessions/ruby_sess.b2dadcbe6c1b0add +0 -0
- data/tmp/sessions/ruby_sess.ca9100beb103a428 +0 -0
- data/tmp/sessions/ruby_sess.d649c800a046efde +0 -0
- data/tmp/sessions/ruby_sess.db73bbfafd5a537c +0 -0
- data/tmp/sessions/ruby_sess.e32487b847524df1 +0 -0
- data/tmp/sessions/ruby_sess.f4e45d67828cc437 +0 -0
- data/tmp/sessions/ruby_sess.f5a3f064f2f7a26f +0 -0
- data/tmp/sessions/ruby_sess.ff0c47b35f238cda +0 -0
- data/vendor/plugins/acts_as_urlnameable.tar.gz +0 -0
- data/vendor/plugins/acts_as_urlnameable/LICENSE +19 -0
- data/vendor/plugins/acts_as_urlnameable/README +193 -0
- data/vendor/plugins/acts_as_urlnameable/Rakefile +25 -0
- data/vendor/plugins/acts_as_urlnameable/TODO +5 -0
- data/vendor/plugins/acts_as_urlnameable/db/00x_add_urlnames_table.rb +15 -0
- data/vendor/plugins/acts_as_urlnameable/db/urlnames_table.sql +7 -0
- data/vendor/plugins/acts_as_urlnameable/doc/classes/ActiveRecord/Acts/Urlnameable/ClassMethods.html +167 -0
- data/vendor/plugins/acts_as_urlnameable/doc/classes/ActiveRecord/Acts/Urlnameable/InstanceMethods.html +213 -0
- data/vendor/plugins/acts_as_urlnameable/doc/classes/ActiveRecord/Acts/Urlnameable/SingletonMethods.html +189 -0
- data/vendor/plugins/acts_as_urlnameable/doc/created.rid +1 -0
- data/vendor/plugins/acts_as_urlnameable/doc/files/LICENSE.html +129 -0
- data/vendor/plugins/acts_as_urlnameable/doc/files/README.html +333 -0
- data/vendor/plugins/acts_as_urlnameable/doc/files/TODO.html +121 -0
- data/vendor/plugins/acts_as_urlnameable/doc/files/lib/acts_as_urlnameable_rb.html +101 -0
- data/vendor/plugins/acts_as_urlnameable/doc/fr_class_index.html +29 -0
- data/vendor/plugins/acts_as_urlnameable/doc/fr_file_index.html +30 -0
- data/vendor/plugins/acts_as_urlnameable/doc/fr_method_index.html +34 -0
- data/vendor/plugins/acts_as_urlnameable/doc/index.html +24 -0
- data/vendor/plugins/acts_as_urlnameable/doc/rdoc-style.css +208 -0
- data/vendor/plugins/acts_as_urlnameable/init.rb +3 -0
- data/vendor/plugins/acts_as_urlnameable/lib/acts_as_urlnameable.rb +159 -0
- data/vendor/plugins/acts_as_urlnameable/lib/urlname.rb +3 -0
- data/vendor/plugins/acts_as_urlnameable/test/acts_as_urlnameable_test.rb +233 -0
- data/vendor/plugins/acts_as_urlnameable/test/connection.rb +8 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/article.rb +13 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/articles.yml +62 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/page.rb +14 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/pages.yml +35 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/people.yml +9 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/person.rb +26 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/schema.rb +24 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/section.rb +5 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/sections.yml +9 -0
- data/vendor/plugins/acts_as_urlnameable/test/fixtures/urlnames.yml +153 -0
- data/vendor/plugins/acts_as_urlnameable/test/test_helper.rb +42 -0
- data/vendor/plugins/gems/README +30 -0
- data/vendor/plugins/gems/init.rb +9 -0
- data/vendor/plugins/gems/tasks/gems_tasks.rake +32 -0
- data/vendor/plugins/unobtrusive_javascript/CHANGELOG +72 -0
- data/vendor/plugins/unobtrusive_javascript/README +73 -0
- data/vendor/plugins/unobtrusive_javascript/Rakefile +33 -0
- data/vendor/plugins/unobtrusive_javascript/about.yml +6 -0
- data/vendor/plugins/unobtrusive_javascript/assets/javascripts/lowpro.js +307 -0
- data/vendor/plugins/unobtrusive_javascript/init.rb +21 -0
- data/vendor/plugins/unobtrusive_javascript/install.rb +1 -0
- data/vendor/plugins/unobtrusive_javascript/lib/actionview_helpers_patches.rb +17 -0
- data/vendor/plugins/unobtrusive_javascript/lib/asset_tag_helper_patches.rb +33 -0
- data/vendor/plugins/unobtrusive_javascript/lib/behaviour_caching.rb +70 -0
- data/vendor/plugins/unobtrusive_javascript/lib/controllers/unobtrusive_javascript_controller.rb +52 -0
- data/vendor/plugins/unobtrusive_javascript/lib/prototype_helper_patches.rb +72 -0
- data/vendor/plugins/unobtrusive_javascript/lib/scriptaculous_helper_patches.rb +62 -0
- data/vendor/plugins/unobtrusive_javascript/lib/tag_helper_patches.rb +37 -0
- data/vendor/plugins/unobtrusive_javascript/lib/ujs.rb +32 -0
- data/vendor/plugins/unobtrusive_javascript/lib/ujs/behaviour_helper.rb +62 -0
- data/vendor/plugins/unobtrusive_javascript/lib/ujs/behaviour_script.rb +54 -0
- data/vendor/plugins/unobtrusive_javascript/lib/ujs/behaviour_script_converter.rb +23 -0
- data/vendor/plugins/unobtrusive_javascript/lib/ujs/controller_methods.rb +55 -0
- data/vendor/plugins/unobtrusive_javascript/lib/ujs/helpers.rb +152 -0
- data/vendor/plugins/unobtrusive_javascript/lib/ujs/javascript_proxies.rb +57 -0
- data/vendor/plugins/unobtrusive_javascript/tasks/unobtrusive_javascript_tasks.rake +15 -0
- data/vendor/plugins/unobtrusive_javascript/test/asset_tag_helper_patches_test.rb +32 -0
- data/vendor/plugins/unobtrusive_javascript/test/behaviour_helper_test.rb +180 -0
- data/vendor/plugins/unobtrusive_javascript/test/behaviour_script_converter_test.rb +72 -0
- data/vendor/plugins/unobtrusive_javascript/test/behaviour_script_test.rb +98 -0
- data/vendor/plugins/unobtrusive_javascript/test/config/environment.rb +8 -0
- data/vendor/plugins/unobtrusive_javascript/test/config/routes.rb +4 -0
- data/vendor/plugins/unobtrusive_javascript/test/config/schema.rb +3 -0
- data/vendor/plugins/unobtrusive_javascript/test/controller_methods_test.rb +48 -0
- data/vendor/plugins/unobtrusive_javascript/test/helpers_test.rb +186 -0
- data/vendor/plugins/unobtrusive_javascript/test/javascript_proxies_test.rb +3 -0
- data/vendor/plugins/unobtrusive_javascript/test/lib/ptk/boot.rb +26 -0
- data/vendor/plugins/unobtrusive_javascript/test/lib/ptk/gem/action_controller.rb +11 -0
- data/vendor/plugins/unobtrusive_javascript/test/lib/ptk/gem/action_mailer.rb +4 -0
- data/vendor/plugins/unobtrusive_javascript/test/lib/ptk/gem/active_record.rb +27 -0
- data/vendor/plugins/unobtrusive_javascript/test/lib/ptk/gem/rails.rb +31 -0
- data/vendor/plugins/unobtrusive_javascript/test/lib/ptk/ptk.rb +148 -0
- data/vendor/plugins/unobtrusive_javascript/test/lib/ptk/suite/difference.rb +23 -0
- data/vendor/plugins/unobtrusive_javascript/test/lib/stubs/controller_stub.rb +10 -0
- data/vendor/plugins/unobtrusive_javascript/test/ptk_helper.rb +29 -0
- data/vendor/plugins/unobtrusive_javascript/test/tag_helper_patches_test.rb +59 -0
- data/vendor/plugins/unobtrusive_javascript/test/test_helper.rb +25 -0
- data/vendor/plugins/unobtrusive_javascript/test/unobtrusive_javascript_controller_test.rb +95 -0
- data/vendor/plugins/unobtrusive_javascript/uninstall.rb +1 -0
- data/vendor/redcloth/bin/redcloth +3 -0
- data/vendor/redcloth/doc/CHANGELOG +160 -0
- data/vendor/redcloth/doc/COPYING +25 -0
- data/vendor/redcloth/doc/README +106 -0
- data/vendor/redcloth/doc/REFERENCE +216 -0
- data/vendor/redcloth/doc/make.rb +359 -0
- data/vendor/redcloth/lib/redcloth.rb +1130 -0
- data/vendor/redcloth/run-tests.rb +28 -0
- data/vendor/redcloth/setup.rb +1376 -0
- data/vendor/redcloth/tests/code.yml +105 -0
- data/vendor/redcloth/tests/hard_breaks.yml +26 -0
- data/vendor/redcloth/tests/images.yml +171 -0
- data/vendor/redcloth/tests/instiki.yml +39 -0
- data/vendor/redcloth/tests/links.yml +155 -0
- data/vendor/redcloth/tests/lists.yml +77 -0
- data/vendor/redcloth/tests/markdown.yml +218 -0
- data/vendor/redcloth/tests/poignant.yml +64 -0
- data/vendor/redcloth/tests/table.yml +198 -0
- data/vendor/redcloth/tests/textism.yml +406 -0
- metadata +432 -0
@@ -0,0 +1,105 @@
|
|
1
|
+
---
|
2
|
+
in: 'This is an empty dictionary: @{}@'
|
3
|
+
out: '<p>This is an empty dictionary: <code>{}</code></p>'
|
4
|
+
---
|
5
|
+
in: |-
|
6
|
+
Testing nested pre tags...
|
7
|
+
|
8
|
+
<pre>
|
9
|
+
<code>
|
10
|
+
Good code here.
|
11
|
+
|
12
|
+
<pre>
|
13
|
+
a = 1
|
14
|
+
</pre>
|
15
|
+
|
16
|
+
Bad code here.
|
17
|
+
|
18
|
+
<script language="JavaScript">
|
19
|
+
window.open( "about:blank" );
|
20
|
+
</script>
|
21
|
+
</code>
|
22
|
+
</pre>
|
23
|
+
|
24
|
+
out: |-
|
25
|
+
<p>Testing nested pre tags…</p>
|
26
|
+
|
27
|
+
|
28
|
+
<pre>
|
29
|
+
<code>
|
30
|
+
Good code here.
|
31
|
+
|
32
|
+
<pre>
|
33
|
+
a = 1
|
34
|
+
</pre>
|
35
|
+
|
36
|
+
Bad code here.
|
37
|
+
|
38
|
+
<script language="JavaScript">
|
39
|
+
window.open( "about:blank" );
|
40
|
+
</script>
|
41
|
+
</code>
|
42
|
+
</pre>
|
43
|
+
---
|
44
|
+
in: |-
|
45
|
+
<pre>
|
46
|
+
*** test
|
47
|
+
</pre>
|
48
|
+
out: |-
|
49
|
+
<pre>
|
50
|
+
*** test
|
51
|
+
</pre>
|
52
|
+
---
|
53
|
+
in: |-
|
54
|
+
<notextile>
|
55
|
+
*** test
|
56
|
+
</notextile>
|
57
|
+
out: |-
|
58
|
+
*** test
|
59
|
+
---
|
60
|
+
in: '*this <span></span> is strong*'
|
61
|
+
out: '<p><strong>this <span></span> is strong</strong></p>'
|
62
|
+
---
|
63
|
+
in: '*this <span>test</span> is strong*'
|
64
|
+
out: '<p><strong>this <span>test</span> is strong</strong></p>'
|
65
|
+
---
|
66
|
+
in: <pre class="code"> __inline__</pre>
|
67
|
+
out: <pre class="code"> __inline__</pre>
|
68
|
+
---
|
69
|
+
in: |-
|
70
|
+
* @foo@
|
71
|
+
* @bar@
|
72
|
+
* and @x@ is also.
|
73
|
+
out: "<ul>\n\t<li><code>foo</code></li>\n\t\t<li><code>bar</code></li>\n\t\t<li>and <code>x</code> is also.</li>\n\t</ul>"
|
74
|
+
---
|
75
|
+
in: |-
|
76
|
+
<pre class="code"> <hello> </pre>
|
77
|
+
<pre class="code"> <hello> </pre>
|
78
|
+
out: |-
|
79
|
+
<pre class="code"> <hello> </pre>
|
80
|
+
<pre class="code"> <hello> </pre>
|
81
|
+
---
|
82
|
+
in: |
|
83
|
+
Test of Markdown-style indented code.
|
84
|
+
|
85
|
+
a = [1, 2, 3]
|
86
|
+
a.each do |x|
|
87
|
+
puts "test number", x,
|
88
|
+
"and more!"
|
89
|
+
end
|
90
|
+
|
91
|
+
Paragraph 2.
|
92
|
+
|
93
|
+
Paragraph 3.
|
94
|
+
out: |-
|
95
|
+
<p>Test of Markdown-style indented code.</p>
|
96
|
+
|
97
|
+
<pre><code>a = [1, 2, 3]
|
98
|
+
a.each do |x|
|
99
|
+
puts "test number", x,
|
100
|
+
"and more!"
|
101
|
+
end</code></pre>
|
102
|
+
|
103
|
+
<p>Paragraph 2.</p>
|
104
|
+
|
105
|
+
<p>Paragraph 3.</p>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
---
|
2
|
+
in: |
|
3
|
+
|This|is|a|row|
|
4
|
+
{background:#ddd}. |This|is|grey|row|
|
5
|
+
|This|is|another|row|
|
6
|
+
out: |-
|
7
|
+
<table>
|
8
|
+
<tr>
|
9
|
+
<td>This</td>
|
10
|
+
<td>is</td>
|
11
|
+
<td>a</td>
|
12
|
+
<td>row</td>
|
13
|
+
</tr>
|
14
|
+
<tr style="background:#ddd;">
|
15
|
+
<td>This</td>
|
16
|
+
<td>is</td>
|
17
|
+
<td>grey</td>
|
18
|
+
<td>row</td>
|
19
|
+
</tr>
|
20
|
+
<tr>
|
21
|
+
<td>This</td>
|
22
|
+
<td>is</td>
|
23
|
+
<td>another</td>
|
24
|
+
<td>row</td>
|
25
|
+
</tr>
|
26
|
+
</table>
|
@@ -0,0 +1,171 @@
|
|
1
|
+
---
|
2
|
+
in: This is an !image.jpg!
|
3
|
+
out: <p>This is an <img src="image.jpg" alt="" /></p>
|
4
|
+
---
|
5
|
+
in: This is an !image.jpg(with alt text)!
|
6
|
+
out: <p>This is an <img src="image.jpg" title="with alt text" alt="with alt text" /></p>
|
7
|
+
---
|
8
|
+
in: This is an !http://example.com/i/image.jpg!
|
9
|
+
out: <p>This is an <img src="http://example.com/i/image.jpg" alt="" /></p>
|
10
|
+
---
|
11
|
+
in: This is an !http://example.com/i/image.jpg#a1!
|
12
|
+
out: <p>This is an <img src="http://example.com/i/image.jpg#a1" alt="" /></p>
|
13
|
+
---
|
14
|
+
in: This is an !image.jpg!.
|
15
|
+
out: <p>This is an <img src="image.jpg" alt="" />.</p>
|
16
|
+
---
|
17
|
+
in: This is an !image.jpg(with alt text)!.
|
18
|
+
out: <p>This is an <img src="image.jpg" title="with alt text" alt="with alt text" />.</p>
|
19
|
+
---
|
20
|
+
in: This is an !http://example.com/i/image.jpg!.
|
21
|
+
out: <p>This is an <img src="http://example.com/i/image.jpg" alt="" />.</p>
|
22
|
+
---
|
23
|
+
in: This is an !http://example.com/i/image.jpg#a1!.
|
24
|
+
out: <p>This is an <img src="http://example.com/i/image.jpg#a1" alt="" />.</p>
|
25
|
+
---
|
26
|
+
in: This is not an image!!!
|
27
|
+
out: <p>This is not an image!!!</p>
|
28
|
+
---
|
29
|
+
in: This is an !http://example.com/i/image.jpg!:#1
|
30
|
+
out: <p>This is an <a href="#1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
31
|
+
---
|
32
|
+
in: This is an !http://example.com/i/image.jpg!:#a
|
33
|
+
out: <p>This is an <a href="#a"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
34
|
+
---
|
35
|
+
in: This is an !http://example.com/i/image.jpg!:#a1
|
36
|
+
out: <p>This is an <a href="#a1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
37
|
+
---
|
38
|
+
in: This is an !http://example.com/i/image.jpg!:#a10
|
39
|
+
out: <p>This is an <a href="#a10"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
40
|
+
---
|
41
|
+
in: This is an !http://example.com/i/image.jpg!:index.html
|
42
|
+
out: <p>This is an <a href="index.html"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
43
|
+
---
|
44
|
+
in: This is an !http://example.com/i/image.jpg!:index.html#1
|
45
|
+
out: <p>This is an <a href="index.html#1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
46
|
+
---
|
47
|
+
in: This is an !http://example.com/i/image.jpg!:index.html#a1
|
48
|
+
out: <p>This is an <a href="index.html#a1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
49
|
+
---
|
50
|
+
in: This is an !http://example.com/i/image.jpg!:index.html#a10
|
51
|
+
out: <p>This is an <a href="index.html#a10"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
52
|
+
---
|
53
|
+
in: This is an !http://example.com/i/image.jpg!:index.html?foo=bar
|
54
|
+
out: <p>This is an <a href="index.html?foo=bar"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
55
|
+
---
|
56
|
+
in: This is an !http://example.com/i/image.jpg!:index.html?foo=bar#1
|
57
|
+
out: <p>This is an <a href="index.html?foo=bar#1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
58
|
+
---
|
59
|
+
in: This is an !http://example.com/i/image.jpg!:index.html?foo=bar#a
|
60
|
+
out: <p>This is an <a href="index.html?foo=bar#a"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
61
|
+
---
|
62
|
+
in: This is an !http://example.com/i/image.jpg!:index.html?foo=bar#a1
|
63
|
+
out: <p>This is an <a href="index.html?foo=bar#a1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
64
|
+
---
|
65
|
+
in: This is an !http://example.com/i/image.jpg!:index.html?foo=bar#a10
|
66
|
+
out: <p>This is an <a href="index.html?foo=bar#a10"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
67
|
+
---
|
68
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/
|
69
|
+
out: <p>This is an <a href="http://example.com/"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
70
|
+
---
|
71
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/#1
|
72
|
+
out: <p>This is an <a href="http://example.com/#1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
73
|
+
---
|
74
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/#a
|
75
|
+
out: <p>This is an <a href="http://example.com/#a"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
76
|
+
---
|
77
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/#a1
|
78
|
+
out: <p>This is an <a href="http://example.com/#a1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
79
|
+
---
|
80
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/#a10
|
81
|
+
out: <p>This is an <a href="http://example.com/#a10"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
82
|
+
---
|
83
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html
|
84
|
+
out: <p>This is an <a href="http://example.com/index.html"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
85
|
+
---
|
86
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html#1
|
87
|
+
out: <p>This is an <a href="http://example.com/index.html#1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
88
|
+
---
|
89
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html#a
|
90
|
+
out: <p>This is an <a href="http://example.com/index.html#a"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
91
|
+
---
|
92
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html#a1
|
93
|
+
out: <p>This is an <a href="http://example.com/index.html#a1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
94
|
+
---
|
95
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html#a10
|
96
|
+
out: <p>This is an <a href="http://example.com/index.html#a10"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
97
|
+
---
|
98
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar
|
99
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
100
|
+
---
|
101
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar#1
|
102
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar#1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
103
|
+
---
|
104
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar#a
|
105
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar#a"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
106
|
+
---
|
107
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar#a1
|
108
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar#a1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
109
|
+
---
|
110
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar#a10
|
111
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar#a10"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
112
|
+
---
|
113
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b
|
114
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
115
|
+
---
|
116
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#1
|
117
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
118
|
+
---
|
119
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a
|
120
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#a"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
121
|
+
---
|
122
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a1
|
123
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#a1"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
124
|
+
---
|
125
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a10
|
126
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#a10"><img src="http://example.com/i/image.jpg" alt="" /></a></p>
|
127
|
+
---
|
128
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b.
|
129
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b"><img src="http://example.com/i/image.jpg" alt="" /></a>.</p>
|
130
|
+
---
|
131
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#1.
|
132
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#1"><img src="http://example.com/i/image.jpg" alt="" /></a>.</p>
|
133
|
+
---
|
134
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a.
|
135
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#a"><img src="http://example.com/i/image.jpg" alt="" /></a>.</p>
|
136
|
+
---
|
137
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a1.
|
138
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#a1"><img src="http://example.com/i/image.jpg" alt="" /></a>.</p>
|
139
|
+
---
|
140
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a10.
|
141
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#a10"><img src="http://example.com/i/image.jpg" alt="" /></a>.</p>
|
142
|
+
---
|
143
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b, but this is not.
|
144
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b"><img src="http://example.com/i/image.jpg" alt="" /></a>, but this is not.</p>
|
145
|
+
---
|
146
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#1, but this is not.
|
147
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#1"><img src="http://example.com/i/image.jpg" alt="" /></a>, but this is not.</p>
|
148
|
+
---
|
149
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a, but this is not.
|
150
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#a"><img src="http://example.com/i/image.jpg" alt="" /></a>, but this is not.</p>
|
151
|
+
---
|
152
|
+
in: This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a1, but this is not.
|
153
|
+
out: <p>This is an <a href="http://example.com/index.html?foo=bar&a=b#a1"><img src="http://example.com/i/image.jpg" alt="" /></a>, but this is not.</p>
|
154
|
+
---
|
155
|
+
in: (This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a10) This is not.
|
156
|
+
out: <p>(This is an <a href="http://example.com/index.html?foo=bar&a=b#a10"><img src="http://example.com/i/image.jpg" alt="" /></a>) This is not.</p>
|
157
|
+
---
|
158
|
+
in: (This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b) This is not.
|
159
|
+
out: <p>(This is an <a href="http://example.com/index.html?foo=bar&a=b"><img src="http://example.com/i/image.jpg" alt="" /></a>) This is not.</p>
|
160
|
+
---
|
161
|
+
in: (This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#1) This is not.
|
162
|
+
out: <p>(This is an <a href="http://example.com/index.html?foo=bar&a=b#1"><img src="http://example.com/i/image.jpg" alt="" /></a>) This is not.</p>
|
163
|
+
---
|
164
|
+
in: (This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a) This is not.
|
165
|
+
out: <p>(This is an <a href="http://example.com/index.html?foo=bar&a=b#a"><img src="http://example.com/i/image.jpg" alt="" /></a>) This is not.</p>
|
166
|
+
---
|
167
|
+
in: (This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a1) This is not.
|
168
|
+
out: <p>(This is an <a href="http://example.com/index.html?foo=bar&a=b#a1"><img src="http://example.com/i/image.jpg" alt="" /></a>) This is not.</p>
|
169
|
+
---
|
170
|
+
in: (This is an !http://example.com/i/image.jpg!:http://example.com/index.html?foo=bar&a=b#a10) This is not.
|
171
|
+
out: <p>(This is an <a href="http://example.com/index.html?foo=bar&a=b#a10"><img src="http://example.com/i/image.jpg" alt="" /></a>) This is not.</p>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
--- # Bugs filed at http://www.instiki.org/show/BugReports
|
2
|
+
in: |-
|
3
|
+
_Hi, <span class="newWikiWord">Joe Bob<a href="../show/JoeBob">?</a></span>, this should all be in italic!_
|
4
|
+
out: |-
|
5
|
+
<p><em>Hi, <span class="newWikiWord">Joe Bob<a href="../show/JoeBob">?</a></span>, this should all be in italic!</em></p>
|
6
|
+
---
|
7
|
+
in: '*this <span>span</span> is strong*'
|
8
|
+
out: '<p><strong>this <span>span</span> is strong</strong></p>'
|
9
|
+
---
|
10
|
+
in: '*this <span>Camel Thing<a href="../show/CamelThing">?</a></span> is strong*'
|
11
|
+
out: '<p><strong>this <span>Camel Thing<a href="../show/CamelThing">?</a></span> is strong</strong></p>'
|
12
|
+
---
|
13
|
+
in: '_this <span>span</span> is italic_'
|
14
|
+
out: '<p><em>this <span>span</span> is italic</em></p>'
|
15
|
+
---
|
16
|
+
in: '%{color:red}nested span because of <span><span class="newWikiWord">Camel Word<a href="../show/CamelWord">?</a></span></span>%'
|
17
|
+
out: '<p><span style="color:red;">nested span because of <span><span class="newWikiWord">Camel Word<a href="../show/CamelWord">?</a></span></span></span></p>'
|
18
|
+
---
|
19
|
+
in: |-
|
20
|
+
h2. Version History
|
21
|
+
|
22
|
+
* "Version
|
23
|
+
0.0":http://www.threewordslong.com/render-0-8-9b.patch - Early version using MD5 hashes.
|
24
|
+
* "Version
|
25
|
+
0.1":http://www.threewordslong.com/chunk-0-1.patch.gz - First cut of new system. Much cleaner.
|
26
|
+
* "Version 0.2":http://www.threewordslong.com/chunk-0-2.patch.gz - Fixed problem with "authors" page and some tests.
|
27
|
+
out: |-
|
28
|
+
<h2>Version History</h2>
|
29
|
+
|
30
|
+
<ul>
|
31
|
+
<li><a href="http://www.threewordslong.com/render-0-8-9b.patch">Version
|
32
|
+
0.0</a> – Early version using <span class="caps">MD5</span> hashes.</li>
|
33
|
+
<li><a href="http://www.threewordslong.com/chunk-0-1.patch.gz">Version
|
34
|
+
0.1</a> – First cut of new system. Much cleaner.</li>
|
35
|
+
<li><a href="http://www.threewordslong.com/chunk-0-2.patch.gz">Version 0.2</a> – Fixed problem with “authors” page and some tests.</li>
|
36
|
+
</ul>
|
37
|
+
---
|
38
|
+
in: "--richSeymour --whyTheLuckyStiff"
|
39
|
+
out: "<p>—richSeymour—whyTheLuckyStiff</p>"
|
@@ -0,0 +1,155 @@
|
|
1
|
+
---
|
2
|
+
in: '"link text":#1'
|
3
|
+
out: <p><a href="#1">link text</a></p>
|
4
|
+
---
|
5
|
+
in: '"link text":#a'
|
6
|
+
out: <p><a href="#a">link text</a></p>
|
7
|
+
---
|
8
|
+
in: '"link text":#a1'
|
9
|
+
out: <p><a href="#a1">link text</a></p>
|
10
|
+
---
|
11
|
+
in: '"link text":#a10'
|
12
|
+
out: <p><a href="#a10">link text</a></p>
|
13
|
+
---
|
14
|
+
in: '"link text":index.html'
|
15
|
+
out: <p><a href="index.html">link text</a></p>
|
16
|
+
---
|
17
|
+
in: '"link text":index.html#1'
|
18
|
+
out: <p><a href="index.html#1">link text</a></p>
|
19
|
+
---
|
20
|
+
in: '"link text":index.html#a'
|
21
|
+
out: <p><a href="index.html#a">link text</a></p>
|
22
|
+
---
|
23
|
+
in: '"link text":index.html#a1'
|
24
|
+
out: <p><a href="index.html#a1">link text</a></p>
|
25
|
+
---
|
26
|
+
in: '"link text":index.html#a10'
|
27
|
+
out: <p><a href="index.html#a10">link text</a></p>
|
28
|
+
---
|
29
|
+
in: '"link text":http://example.com/'
|
30
|
+
out: <p><a href="http://example.com/">link text</a></p>
|
31
|
+
---
|
32
|
+
in: '"link text":http://example.com/#1'
|
33
|
+
out: <p><a href="http://example.com/#1">link text</a></p>
|
34
|
+
---
|
35
|
+
in: '"link text":http://example.com/#a'
|
36
|
+
out: <p><a href="http://example.com/#a">link text</a></p>
|
37
|
+
---
|
38
|
+
in: '"link text":http://example.com/#a1'
|
39
|
+
out: <p><a href="http://example.com/#a1">link text</a></p>
|
40
|
+
---
|
41
|
+
in: '"link text":http://example.com/#a10'
|
42
|
+
out: <p><a href="http://example.com/#a10">link text</a></p>
|
43
|
+
---
|
44
|
+
in: '"link text":http://example.com/index.html'
|
45
|
+
out: <p><a href="http://example.com/index.html">link text</a></p>
|
46
|
+
---
|
47
|
+
in: '"link text":http://example.com/index.html#a'
|
48
|
+
out: <p><a href="http://example.com/index.html#a">link text</a></p>
|
49
|
+
---
|
50
|
+
in: '"link text":http://example.com/index.html#1'
|
51
|
+
out: <p><a href="http://example.com/index.html#1">link text</a></p>
|
52
|
+
---
|
53
|
+
in: '"link text":http://example.com/index.html#a1'
|
54
|
+
out: <p><a href="http://example.com/index.html#a1">link text</a></p>
|
55
|
+
---
|
56
|
+
in: '"link text":http://example.com/index.html#a10'
|
57
|
+
out: <p><a href="http://example.com/index.html#a10">link text</a></p>
|
58
|
+
---
|
59
|
+
in: '"link text":http://example.com/?foo=bar'
|
60
|
+
out: <p><a href="http://example.com/?foo=bar">link text</a></p>
|
61
|
+
---
|
62
|
+
in: '"link text":http://example.com/?foo=bar#a'
|
63
|
+
out: <p><a href="http://example.com/?foo=bar#a">link text</a></p>
|
64
|
+
---
|
65
|
+
in: '"link text":http://example.com/?foo=bar#1'
|
66
|
+
out: <p><a href="http://example.com/?foo=bar#1">link text</a></p>
|
67
|
+
---
|
68
|
+
in: '"link text":http://example.com/?foo=bar#a1'
|
69
|
+
out: <p><a href="http://example.com/?foo=bar#a1">link text</a></p>
|
70
|
+
---
|
71
|
+
in: '"link text":http://example.com/?foo=bar#a10'
|
72
|
+
out: <p><a href="http://example.com/?foo=bar#a10">link text</a></p>
|
73
|
+
---
|
74
|
+
in: '"link text":http://example.com/?foo=bar&a=b'
|
75
|
+
out: <p><a href="http://example.com/?foo=bar&a=b">link text</a></p>
|
76
|
+
---
|
77
|
+
in: '"link text":http://example.com/?foo=bar&a=b#1'
|
78
|
+
out: <p><a href="http://example.com/?foo=bar&a=b#1">link text</a></p>
|
79
|
+
---
|
80
|
+
in: '"link text":http://example.com/?foo=bar&a=b#a'
|
81
|
+
out: <p><a href="http://example.com/?foo=bar&a=b#a">link text</a></p>
|
82
|
+
---
|
83
|
+
in: '"link text":http://example.com/?foo=bar&a=b#a1'
|
84
|
+
out: <p><a href="http://example.com/?foo=bar&a=b#a1">link text</a></p>
|
85
|
+
---
|
86
|
+
in: '"link text":http://example.com/?foo=bar&a=b#a10'
|
87
|
+
out: <p><a href="http://example.com/?foo=bar&a=b#a10">link text</a></p>
|
88
|
+
---
|
89
|
+
in: 'This is a "link":http://example.com/'
|
90
|
+
out: <p>This is a <a href="http://example.com/">link</a></p>
|
91
|
+
---
|
92
|
+
in: 'This is a "link":http://example.com/.'
|
93
|
+
out: <p>This is a <a href="http://example.com/">link</a>.</p>
|
94
|
+
---
|
95
|
+
in: 'This is a "link":http://example.com/index.html.'
|
96
|
+
out: <p>This is a <a href="http://example.com/index.html">link</a>.</p>
|
97
|
+
---
|
98
|
+
in: 'This is a "link":http://example.com/index.html#a.'
|
99
|
+
out: <p>This is a <a href="http://example.com/index.html#a">link</a>.</p>
|
100
|
+
---
|
101
|
+
in: 'This is a "link":http://example.com/index.html#1.'
|
102
|
+
out: <p>This is a <a href="http://example.com/index.html#1">link</a>.</p>
|
103
|
+
---
|
104
|
+
in: 'This is a "link":http://example.com/index.html#a1.'
|
105
|
+
out: <p>This is a <a href="http://example.com/index.html#a1">link</a>.</p>
|
106
|
+
---
|
107
|
+
in: 'This is a "link":http://example.com/index.html#a10.'
|
108
|
+
out: <p>This is a <a href="http://example.com/index.html#a10">link</a>.</p>
|
109
|
+
---
|
110
|
+
in: 'This is a "link":http://example.com/?foo=bar.'
|
111
|
+
out: <p>This is a <a href="http://example.com/?foo=bar">link</a>.</p>
|
112
|
+
---
|
113
|
+
in: 'This is a "link":http://example.com/?foo=bar#1.'
|
114
|
+
out: <p>This is a <a href="http://example.com/?foo=bar#1">link</a>.</p>
|
115
|
+
---
|
116
|
+
in: 'This is a "link":http://example.com/?foo=bar#a.'
|
117
|
+
out: <p>This is a <a href="http://example.com/?foo=bar#a">link</a>.</p>
|
118
|
+
---
|
119
|
+
in: 'This is a "link":http://example.com/?foo=bar#a1.'
|
120
|
+
out: <p>This is a <a href="http://example.com/?foo=bar#a1">link</a>.</p>
|
121
|
+
---
|
122
|
+
in: 'This is a "link":http://example.com/?foo=bar#a10.'
|
123
|
+
out: <p>This is a <a href="http://example.com/?foo=bar#a10">link</a>.</p>
|
124
|
+
---
|
125
|
+
in: 'This is a "link":http://example.com/?foo=bar#a10, but this is not.'
|
126
|
+
out: <p>This is a <a href="http://example.com/?foo=bar#a10">link</a>, but this is not.</p>
|
127
|
+
---
|
128
|
+
in: '(This is a "link":http://example.com/?foo=bar#a10) but this is not.'
|
129
|
+
out: <p>(This is a <a href="http://example.com/?foo=bar#a10">link</a>) but this is not.</p>
|
130
|
+
---
|
131
|
+
in: '"link text(link title)":http://example.com/'
|
132
|
+
out: <p><a href="http://example.com/" title="link title">link text</a></p>
|
133
|
+
# ---
|
134
|
+
# in: '"link text(link title) ":http://example.com/'
|
135
|
+
# out: <p>“link text(link title) “:http://example.com/</p>
|
136
|
+
# comments: this is a real test and should pass
|
137
|
+
---
|
138
|
+
in: '"(link) text(link title)":http://example.com/'
|
139
|
+
out: <p><a href="http://example.com/" class="link" title="link title"> text</a></p>
|
140
|
+
comments: link text can not contain parentheses
|
141
|
+
---
|
142
|
+
in: '"Dive Into XML":http://www.xml.com/pub/au/164'
|
143
|
+
out: <p><a href="http://www.xml.com/pub/au/164">Dive Into <span class="caps">XML</span></a></p>
|
144
|
+
---
|
145
|
+
in: '"Lab Exercises":../lab/exercises/exercises.html.'
|
146
|
+
out: <p><a href="../lab/exercises/exercises.html">Lab Exercises</a>.</p>
|
147
|
+
---
|
148
|
+
in: 'Go to "discuss":http://www.dreammoods.com/cgibin/cutecast/cutecast.pl?forum=1&thread=26627 to discuss.'
|
149
|
+
out: <p>Go to <a href="http://www.dreammoods.com/cgibin/cutecast/cutecast.pl?forum=1&thread=26627">discuss</a> to discuss.</p>
|
150
|
+
---
|
151
|
+
in: '* "rubylang":http://www.ruby-lang.org/en/'
|
152
|
+
out: "<ul>\n\t<li><a href=\"http://www.ruby-lang.org/en/\">rubylang</a></li>\n\t</ul>"
|
153
|
+
---
|
154
|
+
in: 'The ION coding style document found at "IONCodingStyleGuide.doc":http://perforce:8081/@md=d&cd=//&c=82E@//depot/systest/system/main/pub/doc/IONCodingStyleGuide.doc?ac=22 codifies a couple of rules to ensure reasonably consistent code and documentation of libraries in ION. Test text'
|
155
|
+
out: <p>The <span class="caps">ION</span> coding style document found at <a href="http://perforce:8081/@md=d&cd=//&c=82E@//depot/systest/system/main/pub/doc/IONCodingStyleGuide.doc?ac=22">IONCodingStyleGuide.doc</a> codifies a couple of rules to ensure reasonably consistent code and documentation of libraries in <span class="caps">ION</span>. Test text</p>
|