qwik2md 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +4 -0
- data/Gemfile +4 -0
- data/README.md +36 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/exe/qwik2md +17 -0
- data/lib/qwik2md/version.rb +3 -0
- data/lib/qwik2md.rb +39 -0
- data/qwik2md.gemspec +30 -0
- data/vendor/qwik/AUTHORS +10 -0
- data/vendor/qwik/COPYING +340 -0
- data/vendor/qwik/COPYRIGHT +346 -0
- data/vendor/qwik/lib/qwik/Makefile +63 -0
- data/vendor/qwik/lib/qwik/Rakefile +17 -0
- data/vendor/qwik/lib/qwik/act-aa.rb +83 -0
- data/vendor/qwik/lib/qwik/act-archive.rb +386 -0
- data/vendor/qwik/lib/qwik/act-attach.rb +304 -0
- data/vendor/qwik/lib/qwik/act-backup.rb +236 -0
- data/vendor/qwik/lib/qwik/act-basic.rb +325 -0
- data/vendor/qwik/lib/qwik/act-book.rb +161 -0
- data/vendor/qwik/lib/qwik/act-calc.rb +371 -0
- data/vendor/qwik/lib/qwik/act-charset.rb +251 -0
- data/vendor/qwik/lib/qwik/act-christel.rb +112 -0
- data/vendor/qwik/lib/qwik/act-chronology.rb +149 -0
- data/vendor/qwik/lib/qwik/act-code.rb +155 -0
- data/vendor/qwik/lib/qwik/act-comment.rb +554 -0
- data/vendor/qwik/lib/qwik/act-config.rb +49 -0
- data/vendor/qwik/lib/qwik/act-counter.rb +125 -0
- data/vendor/qwik/lib/qwik/act-day.rb +96 -0
- data/vendor/qwik/lib/qwik/act-describe.rb +135 -0
- data/vendor/qwik/lib/qwik/act-diary.rb +109 -0
- data/vendor/qwik/lib/qwik/act-edit.rb +317 -0
- data/vendor/qwik/lib/qwik/act-embed-html.rb +296 -0
- data/vendor/qwik/lib/qwik/act-emode.rb +150 -0
- data/vendor/qwik/lib/qwik/act-event.rb +187 -0
- data/vendor/qwik/lib/qwik/act-file.rb +303 -0
- data/vendor/qwik/lib/qwik/act-files.rb +771 -0
- data/vendor/qwik/lib/qwik/act-getpass.rb +295 -0
- data/vendor/qwik/lib/qwik/act-history.rb +136 -0
- data/vendor/qwik/lib/qwik/act-html.rb +204 -0
- data/vendor/qwik/lib/qwik/act-httpauth.rb +147 -0
- data/vendor/qwik/lib/qwik/act-include.rb +142 -0
- data/vendor/qwik/lib/qwik/act-interwiki.rb +189 -0
- data/vendor/qwik/lib/qwik/act-isearch.rb +109 -0
- data/vendor/qwik/lib/qwik/act-keywords.rb +137 -0
- data/vendor/qwik/lib/qwik/act-lang.rb +81 -0
- data/vendor/qwik/lib/qwik/act-license.rb +63 -0
- data/vendor/qwik/lib/qwik/act-list.rb +287 -0
- data/vendor/qwik/lib/qwik/act-login.rb +410 -0
- data/vendor/qwik/lib/qwik/act-logout.rb +60 -0
- data/vendor/qwik/lib/qwik/act-mail.rb +159 -0
- data/vendor/qwik/lib/qwik/act-map.rb +292 -0
- data/vendor/qwik/lib/qwik/act-md5.rb +42 -0
- data/vendor/qwik/lib/qwik/act-mdlb.rb +741 -0
- data/vendor/qwik/lib/qwik/act-media.rb +416 -0
- data/vendor/qwik/lib/qwik/act-member.rb +157 -0
- data/vendor/qwik/lib/qwik/act-menu.rb +142 -0
- data/vendor/qwik/lib/qwik/act-metadata.rb +323 -0
- data/vendor/qwik/lib/qwik/act-mlsubmitform.rb +49 -0
- data/vendor/qwik/lib/qwik/act-monitor.rb +167 -0
- data/vendor/qwik/lib/qwik/act-new.rb +418 -0
- data/vendor/qwik/lib/qwik/act-pagelist.rb +248 -0
- data/vendor/qwik/lib/qwik/act-password.rb +145 -0
- data/vendor/qwik/lib/qwik/act-plan.rb +210 -0
- data/vendor/qwik/lib/qwik/act-povray.rb +230 -0
- data/vendor/qwik/lib/qwik/act-presen.rb +380 -0
- data/vendor/qwik/lib/qwik/act-redirect.rb +133 -0
- data/vendor/qwik/lib/qwik/act-ring.rb +1071 -0
- data/vendor/qwik/lib/qwik/act-rrefs.rb +255 -0
- data/vendor/qwik/lib/qwik/act-ruby.rb +116 -0
- data/vendor/qwik/lib/qwik/act-sample.rb +170 -0
- data/vendor/qwik/lib/qwik/act-save.rb +295 -0
- data/vendor/qwik/lib/qwik/act-schedule.rb +374 -0
- data/vendor/qwik/lib/qwik/act-search.rb +180 -0
- data/vendor/qwik/lib/qwik/act-searchwords.rb +51 -0
- data/vendor/qwik/lib/qwik/act-sendpass.rb +83 -0
- data/vendor/qwik/lib/qwik/act-site.rb +89 -0
- data/vendor/qwik/lib/qwik/act-sitebackup.rb +419 -0
- data/vendor/qwik/lib/qwik/act-sitelog.rb +118 -0
- data/vendor/qwik/lib/qwik/act-smil.rb +299 -0
- data/vendor/qwik/lib/qwik/act-status.rb +220 -0
- data/vendor/qwik/lib/qwik/act-style.rb +608 -0
- data/vendor/qwik/lib/qwik/act-table.rb +263 -0
- data/vendor/qwik/lib/qwik/act-tableform.rb +241 -0
- data/vendor/qwik/lib/qwik/act-tag.rb +103 -0
- data/vendor/qwik/lib/qwik/act-text.rb +70 -0
- data/vendor/qwik/lib/qwik/act-textarea.rb +164 -0
- data/vendor/qwik/lib/qwik/act-theme.rb +346 -0
- data/vendor/qwik/lib/qwik/act-toc.rb +112 -0
- data/vendor/qwik/lib/qwik/act-typekey.rb +198 -0
- data/vendor/qwik/lib/qwik/act-under-const.rb +94 -0
- data/vendor/qwik/lib/qwik/act-webservice.rb +321 -0
- data/vendor/qwik/lib/qwik/act-wema.rb +558 -0
- data/vendor/qwik/lib/qwik/act-wysiwyg.rb +238 -0
- data/vendor/qwik/lib/qwik/action.rb +325 -0
- data/vendor/qwik/lib/qwik/autoreload.rb +98 -0
- data/vendor/qwik/lib/qwik/bench-bench.rb +28 -0
- data/vendor/qwik/lib/qwik/bench-emode.rb +47 -0
- data/vendor/qwik/lib/qwik/bench-format-xml.rb +70 -0
- data/vendor/qwik/lib/qwik/bench-large-table.rb +62 -0
- data/vendor/qwik/lib/qwik/bench-md5.rb +14 -0
- data/vendor/qwik/lib/qwik/bench-module-session.rb +19 -0
- data/vendor/qwik/lib/qwik/bench-page.rb +50 -0
- data/vendor/qwik/lib/qwik/bench-s-md5.rb +28 -0
- data/vendor/qwik/lib/qwik/bench-session.rb +25 -0
- data/vendor/qwik/lib/qwik/bench-textformat.rb +31 -0
- data/vendor/qwik/lib/qwik/catalog-factory.rb +91 -0
- data/vendor/qwik/lib/qwik/catalog-ja.rb +479 -0
- data/vendor/qwik/lib/qwik/catalog-ml-ja.rb +145 -0
- data/vendor/qwik/lib/qwik/check-act-monitor.rb +112 -0
- data/vendor/qwik/lib/qwik/check-act-monitor2.rb +46 -0
- data/vendor/qwik/lib/qwik/check-act-theme.rb +27 -0
- data/vendor/qwik/lib/qwik/check-event.rb +112 -0
- data/vendor/qwik/lib/qwik/check-event2.rb +55 -0
- data/vendor/qwik/lib/qwik/check-htree-rexml.rb +77 -0
- data/vendor/qwik/lib/qwik/check-htree.rb +51 -0
- data/vendor/qwik/lib/qwik/check-libxml.rb +135 -0
- data/vendor/qwik/lib/qwik/check-many-pages.rb +47 -0
- data/vendor/qwik/lib/qwik/check-monitor.rb +33 -0
- data/vendor/qwik/lib/qwik/check-observer.rb +67 -0
- data/vendor/qwik/lib/qwik/check-server.rb +61 -0
- data/vendor/qwik/lib/qwik/check-uuencode.rb +33 -0
- data/vendor/qwik/lib/qwik/check-webdav.rb +65 -0
- data/vendor/qwik/lib/qwik/check-xml-xpath.rb +27 -0
- data/vendor/qwik/lib/qwik/common-backtrace.rb +94 -0
- data/vendor/qwik/lib/qwik/common-basic.rb +111 -0
- data/vendor/qwik/lib/qwik/common-condition.rb +142 -0
- data/vendor/qwik/lib/qwik/common-error.rb +48 -0
- data/vendor/qwik/lib/qwik/common-gettext.rb +50 -0
- data/vendor/qwik/lib/qwik/common-javascript.rb +45 -0
- data/vendor/qwik/lib/qwik/common-notice.rb +132 -0
- data/vendor/qwik/lib/qwik/common-plain.rb +105 -0
- data/vendor/qwik/lib/qwik/common-plugin.rb +111 -0
- data/vendor/qwik/lib/qwik/common-res.rb +76 -0
- data/vendor/qwik/lib/qwik/common-resolve.rb +92 -0
- data/vendor/qwik/lib/qwik/common-send.rb +171 -0
- data/vendor/qwik/lib/qwik/common-session.rb +139 -0
- data/vendor/qwik/lib/qwik/common-surface.rb +261 -0
- data/vendor/qwik/lib/qwik/common-url.rb +90 -0
- data/vendor/qwik/lib/qwik/compat/Makefile +12 -0
- data/vendor/qwik/lib/qwik/compat/add_load_path.rb +1 -0
- data/vendor/qwik/lib/qwik/config.rb +299 -0
- data/vendor/qwik/lib/qwik/db-b-backup.rb +142 -0
- data/vendor/qwik/lib/qwik/db-backup.rb +184 -0
- data/vendor/qwik/lib/qwik/db-berkeley.rb +306 -0
- data/vendor/qwik/lib/qwik/db-filesystem.rb +305 -0
- data/vendor/qwik/lib/qwik/db-indexer.rb +154 -0
- data/vendor/qwik/lib/qwik/db-searchwords.rb +238 -0
- data/vendor/qwik/lib/qwik/description-ja.rb +267 -0
- data/vendor/qwik/lib/qwik/description.rb +256 -0
- data/vendor/qwik/lib/qwik/dev-add-copyright.rb +23 -0
- data/vendor/qwik/lib/qwik/dev-backup.rb +24 -0
- data/vendor/qwik/lib/qwik/dev-bench.rb +175 -0
- data/vendor/qwik/lib/qwik/dev-calctime.rb +52 -0
- data/vendor/qwik/lib/qwik/dev-css-compressor.rb +60 -0
- data/vendor/qwik/lib/qwik/dev-extract-catalog.rb +102 -0
- data/vendor/qwik/lib/qwik/dev-js-compressor.rb +73 -0
- data/vendor/qwik/lib/qwik/dev-release.rb +235 -0
- data/vendor/qwik/lib/qwik/dev-replace.rb +353 -0
- data/vendor/qwik/lib/qwik/dev-sendmail.rb +25 -0
- data/vendor/qwik/lib/qwik/farm.rb +283 -0
- data/vendor/qwik/lib/qwik/gettext.rb +56 -0
- data/vendor/qwik/lib/qwik/group-cond.rb +157 -0
- data/vendor/qwik/lib/qwik/group-config.rb +247 -0
- data/vendor/qwik/lib/qwik/group-confirm.rb +147 -0
- data/vendor/qwik/lib/qwik/group-db.rb +326 -0
- data/vendor/qwik/lib/qwik/group-mail.rb +195 -0
- data/vendor/qwik/lib/qwik/group-member.rb +307 -0
- data/vendor/qwik/lib/qwik/group-sendmail.rb +231 -0
- data/vendor/qwik/lib/qwik/group-site.rb +374 -0
- data/vendor/qwik/lib/qwik/group-sweep.rb +63 -0
- data/vendor/qwik/lib/qwik/group.rb +157 -0
- data/vendor/qwik/lib/qwik/helper.rb +6 -0
- data/vendor/qwik/lib/qwik/html-generator.rb +104 -0
- data/vendor/qwik/lib/qwik/html-to-wabisabi.rb +148 -0
- data/vendor/qwik/lib/qwik/htree-diff.rb +87 -0
- data/vendor/qwik/lib/qwik/htree-format-xml.rb +57 -0
- data/vendor/qwik/lib/qwik/htree-generator.rb +144 -0
- data/vendor/qwik/lib/qwik/htree-get.rb +251 -0
- data/vendor/qwik/lib/qwik/htree-html-generator.rb +179 -0
- data/vendor/qwik/lib/qwik/htree-template.rb +263 -0
- data/vendor/qwik/lib/qwik/htree-to-wabisabi.rb +171 -0
- data/vendor/qwik/lib/qwik/loadlib.rb +79 -0
- data/vendor/qwik/lib/qwik/logger.rb +115 -0
- data/vendor/qwik/lib/qwik/mail-body.rb +171 -0
- data/vendor/qwik/lib/qwik/mail-header.rb +474 -0
- data/vendor/qwik/lib/qwik/mail-multipart.rb +193 -0
- data/vendor/qwik/lib/qwik/mail-parse.rb +147 -0
- data/vendor/qwik/lib/qwik/mail.rb +341 -0
- data/vendor/qwik/lib/qwik/mailaddress.rb +83 -0
- data/vendor/qwik/lib/qwik/mdlb-model.rb +81 -0
- data/vendor/qwik/lib/qwik/mdlb-sample.rb +324 -0
- data/vendor/qwik/lib/qwik/ml-catalog-factory.rb +27 -0
- data/vendor/qwik/lib/qwik/ml-exception.rb +15 -0
- data/vendor/qwik/lib/qwik/ml-generator.rb +28 -0
- data/vendor/qwik/lib/qwik/ml-gettext.rb +137 -0
- data/vendor/qwik/lib/qwik/ml-logger.rb +82 -0
- data/vendor/qwik/lib/qwik/ml-memory.rb +65 -0
- data/vendor/qwik/lib/qwik/ml-msg-validator.rb +86 -0
- data/vendor/qwik/lib/qwik/ml-processor.rb +609 -0
- data/vendor/qwik/lib/qwik/ml-quickml-server.rb +122 -0
- data/vendor/qwik/lib/qwik/ml-sendmail.rb +0 -0
- data/vendor/qwik/lib/qwik/ml-server.rb +107 -0
- data/vendor/qwik/lib/qwik/ml-session.rb +348 -0
- data/vendor/qwik/lib/qwik/ml-sweeper.rb +101 -0
- data/vendor/qwik/lib/qwik/mock-logger.rb +65 -0
- data/vendor/qwik/lib/qwik/mock-sendmail.rb +78 -0
- data/vendor/qwik/lib/qwik/mock-socket.rb +82 -0
- data/vendor/qwik/lib/qwik/modulobe.rb +406 -0
- data/vendor/qwik/lib/qwik/mongrel-server.rb +72 -0
- data/vendor/qwik/lib/qwik/page-files.rb +249 -0
- data/vendor/qwik/lib/qwik/page-generate.rb +82 -0
- data/vendor/qwik/lib/qwik/page-get.rb +262 -0
- data/vendor/qwik/lib/qwik/page-images.rb +168 -0
- data/vendor/qwik/lib/qwik/page-put.rb +128 -0
- data/vendor/qwik/lib/qwik/page-rrefs.rb +154 -0
- data/vendor/qwik/lib/qwik/page-title.rb +0 -0
- data/vendor/qwik/lib/qwik/page-wikidb.rb +234 -0
- data/vendor/qwik/lib/qwik/page.rb +67 -0
- data/vendor/qwik/lib/qwik/pages.rb +444 -0
- data/vendor/qwik/lib/qwik/parse-plugin.rb +249 -0
- data/vendor/qwik/lib/qwik/parser-emode.rb +116 -0
- data/vendor/qwik/lib/qwik/parser-inline.rb +272 -0
- data/vendor/qwik/lib/qwik/parser.rb +349 -0
- data/vendor/qwik/lib/qwik/password.rb +183 -0
- data/vendor/qwik/lib/qwik/periodic.rb +79 -0
- data/vendor/qwik/lib/qwik/qp.rb +56 -0
- data/vendor/qwik/lib/qwik/qwik-service.rb +341 -0
- data/vendor/qwik/lib/qwik/qwik.rb +5 -0
- data/vendor/qwik/lib/qwik/qwikweb-adduser.rb +34 -0
- data/vendor/qwik/lib/qwik/qwikweb-catalog-validator.rb +110 -0
- data/vendor/qwik/lib/qwik/qwikweb-incgen.rb +28 -0
- data/vendor/qwik/lib/qwik/qwikweb-makesite.rb +41 -0
- data/vendor/qwik/lib/qwik/qwikweb-server.rb +44 -0
- data/vendor/qwik/lib/qwik/qwikweb-showpassword.rb +26 -0
- data/vendor/qwik/lib/qwik/qwikweb-watchlog.rb +67 -0
- data/vendor/qwik/lib/qwik/request-path.rb +304 -0
- data/vendor/qwik/lib/qwik/request-ua.rb +76 -0
- data/vendor/qwik/lib/qwik/request-webrick.rb +81 -0
- data/vendor/qwik/lib/qwik/request.rb +91 -0
- data/vendor/qwik/lib/qwik/resolve-tdiary.rb +292 -0
- data/vendor/qwik/lib/qwik/resolve.rb +121 -0
- data/vendor/qwik/lib/qwik/response.rb +228 -0
- data/vendor/qwik/lib/qwik/server-memory.rb +57 -0
- data/vendor/qwik/lib/qwik/server-webrick.rb +102 -0
- data/vendor/qwik/lib/qwik/server.rb +252 -0
- data/vendor/qwik/lib/qwik/site-config.rb +149 -0
- data/vendor/qwik/lib/qwik/site-db.rb +136 -0
- data/vendor/qwik/lib/qwik/site-event.rb +162 -0
- data/vendor/qwik/lib/qwik/site-files.rb +86 -0
- data/vendor/qwik/lib/qwik/site-group.rb +103 -0
- data/vendor/qwik/lib/qwik/site-index.rb +47 -0
- data/vendor/qwik/lib/qwik/site-log.rb +64 -0
- data/vendor/qwik/lib/qwik/site-member.rb +230 -0
- data/vendor/qwik/lib/qwik/site-monitor.rb +97 -0
- data/vendor/qwik/lib/qwik/site-pages.rb +62 -0
- data/vendor/qwik/lib/qwik/site-plan.rb +139 -0
- data/vendor/qwik/lib/qwik/site-report.rb +282 -0
- data/vendor/qwik/lib/qwik/site-resolve.rb +230 -0
- data/vendor/qwik/lib/qwik/site-rrefs.rb +18 -0
- data/vendor/qwik/lib/qwik/site-search.rb +180 -0
- data/vendor/qwik/lib/qwik/site-timeline.rb +153 -0
- data/vendor/qwik/lib/qwik/site-url.rb +189 -0
- data/vendor/qwik/lib/qwik/site.rb +76 -0
- data/vendor/qwik/lib/qwik/smil-time.rb +105 -0
- data/vendor/qwik/lib/qwik/smtp-session.rb +331 -0
- data/vendor/qwik/lib/qwik/template-generator.rb +149 -0
- data/vendor/qwik/lib/qwik/template.rb +85 -0
- data/vendor/qwik/lib/qwik/test-common.rb +10 -0
- data/vendor/qwik/lib/qwik/test-ml-info.rb +225 -0
- data/vendor/qwik/lib/qwik/test-module-ml.rb +142 -0
- data/vendor/qwik/lib/qwik/test-module-path.rb +110 -0
- data/vendor/qwik/lib/qwik/test-module-public.rb +70 -0
- data/vendor/qwik/lib/qwik/test-module-server.rb +98 -0
- data/vendor/qwik/lib/qwik/test-module-session.rb +264 -0
- data/vendor/qwik/lib/qwik/test-module-suite.rb +91 -0
- data/vendor/qwik/lib/qwik/test-ms-applemail.rb +59 -0
- data/vendor/qwik/lib/qwik/test-ms-attach.rb +174 -0
- data/vendor/qwik/lib/qwik/test-ms-basic.rb +40 -0
- data/vendor/qwik/lib/qwik/test-ms-close.rb +35 -0
- data/vendor/qwik/lib/qwik/test-ms-confirm.rb +75 -0
- data/vendor/qwik/lib/qwik/test-ms-ignore-spam.rb +57 -0
- data/vendor/qwik/lib/qwik/test-ms-japanese.rb +97 -0
- data/vendor/qwik/lib/qwik/test-ms-jfilename.rb +82 -0
- data/vendor/qwik/lib/qwik/test-ms-large.rb +58 -0
- data/vendor/qwik/lib/qwik/test-ms-member.rb +103 -0
- data/vendor/qwik/lib/qwik/test-ms-multipart.rb +84 -0
- data/vendor/qwik/lib/qwik/test-ms-org.rb +129 -0
- data/vendor/qwik/lib/qwik/test-ms-plan.rb +130 -0
- data/vendor/qwik/lib/qwik/test-ms-post.rb +53 -0
- data/vendor/qwik/lib/qwik/test-ms-quopri.rb +76 -0
- data/vendor/qwik/lib/qwik/test-sub-quopri.rb +45 -0
- data/vendor/qwik/lib/qwik/test-submit-base64.rb +59 -0
- data/vendor/qwik/lib/qwik/test-submit-forward.rb +61 -0
- data/vendor/qwik/lib/qwik/test-submit-html-mail.rb +52 -0
- data/vendor/qwik/lib/qwik/test-submit-japanese.rb +135 -0
- data/vendor/qwik/lib/qwik/test-submit-jfilename.rb +144 -0
- data/vendor/qwik/lib/qwik/test-submit-uuencode.rb +71 -0
- data/vendor/qwik/lib/qwik/test-suite-all.rb +8 -0
- data/vendor/qwik/lib/qwik/test-suite-basic.rb +9 -0
- data/vendor/qwik/lib/qwik/test-suite-ml.rb +9 -0
- data/vendor/qwik/lib/qwik/test-typekey.rb +64 -0
- data/vendor/qwik/lib/qwik/testunit.rb +45 -0
- data/vendor/qwik/lib/qwik/tokenizer-inline.rb +288 -0
- data/vendor/qwik/lib/qwik/tokenizer.rb +331 -0
- data/vendor/qwik/lib/qwik/typekey.rb +160 -0
- data/vendor/qwik/lib/qwik/util-basic.rb +135 -0
- data/vendor/qwik/lib/qwik/util-charset.rb +331 -0
- data/vendor/qwik/lib/qwik/util-css.rb +56 -0
- data/vendor/qwik/lib/qwik/util-csv-tokenizer.rb +113 -0
- data/vendor/qwik/lib/qwik/util-filename.rb +112 -0
- data/vendor/qwik/lib/qwik/util-pathname.rb +202 -0
- data/vendor/qwik/lib/qwik/util-pid.rb +58 -0
- data/vendor/qwik/lib/qwik/util-safe.rb +67 -0
- data/vendor/qwik/lib/qwik/util-sendmail.rb +273 -0
- data/vendor/qwik/lib/qwik/util-string.rb +202 -0
- data/vendor/qwik/lib/qwik/util-time.rb +125 -0
- data/vendor/qwik/lib/qwik/util-webrick.rb +176 -0
- data/vendor/qwik/lib/qwik/version.rb +11 -0
- data/vendor/qwik/lib/qwik/wabisabi-basic.rb +163 -0
- data/vendor/qwik/lib/qwik/wabisabi-diff.rb +130 -0
- data/vendor/qwik/lib/qwik/wabisabi-format-xml.rb +310 -0
- data/vendor/qwik/lib/qwik/wabisabi-generator.rb +262 -0
- data/vendor/qwik/lib/qwik/wabisabi-index.rb +174 -0
- data/vendor/qwik/lib/qwik/wabisabi-table.rb +212 -0
- data/vendor/qwik/lib/qwik/wabisabi-template.rb +295 -0
- data/vendor/qwik/lib/qwik/wabisabi-to-htree.rb +111 -0
- data/vendor/qwik/lib/qwik/wabisabi-to-wiki.rb +690 -0
- data/vendor/qwik/lib/qwik/wabisabi-traverse.rb +207 -0
- data/vendor/qwik/lib/qwik/wabisabi-validator.rb +116 -0
- data/vendor/qwik/lib/qwik/wabisabi.rb +5 -0
- metadata +492 -0
@@ -0,0 +1,608 @@
|
|
1
|
+
# Copyright (C) 2003-2006 Kouichirou Eto, All rights reserved.
|
2
|
+
# This is free software with ABSOLUTELY NO WARRANTY.
|
3
|
+
# You can redistribute it and/or modify it under the terms of the GNU GPL 2.
|
4
|
+
|
5
|
+
$LOAD_PATH.unshift '..' unless $LOAD_PATH.include? '..'
|
6
|
+
require 'qwik/util-css'
|
7
|
+
require 'qwik/act-code'
|
8
|
+
|
9
|
+
module Qwik
|
10
|
+
class Action
|
11
|
+
D_PluginStyle = {
|
12
|
+
:dt => 'Style plugin',
|
13
|
+
:dd => 'You can specify styles of the page.',
|
14
|
+
:dc => '* Examples
|
15
|
+
** Embed CSS
|
16
|
+
{{css
|
17
|
+
body {
|
18
|
+
background: #efe;
|
19
|
+
}
|
20
|
+
}}
|
21
|
+
{{css
|
22
|
+
body {
|
23
|
+
background: #efe;
|
24
|
+
}
|
25
|
+
}}
|
26
|
+
|
27
|
+
You can embed any CSS style except some inhibit pattern by this plugin.
|
28
|
+
This code specifies the background color of this page.
|
29
|
+
|
30
|
+
*** CSS Inhibit Patterns List
|
31
|
+
{{css_inhibit_pattern}}
|
32
|
+
|
33
|
+
** Specify style to a div block
|
34
|
+
{{style_div("font-size:200%;")
|
35
|
+
This is a test.
|
36
|
+
}}
|
37
|
+
{{style_div("font-size:200%;")
|
38
|
+
This is a test.
|
39
|
+
}}
|
40
|
+
|
41
|
+
** Specify class for a div block
|
42
|
+
{{block_div("notice")
|
43
|
+
This is a test.
|
44
|
+
}}
|
45
|
+
{{block_div("notice")
|
46
|
+
This is a test.
|
47
|
+
}}
|
48
|
+
You can specify any class here.
|
49
|
+
|
50
|
+
** Align center
|
51
|
+
{{center
|
52
|
+
This is a test.~
|
53
|
+
This is a test too.
|
54
|
+
}}
|
55
|
+
{{center
|
56
|
+
This is a test.~
|
57
|
+
This is a test too.
|
58
|
+
}}
|
59
|
+
|
60
|
+
** Align right
|
61
|
+
{{right
|
62
|
+
This is a test.~
|
63
|
+
This is a test too.
|
64
|
+
}}
|
65
|
+
{{right
|
66
|
+
This is a test.~
|
67
|
+
This is a test too.
|
68
|
+
}}
|
69
|
+
|
70
|
+
** Align left
|
71
|
+
{{left
|
72
|
+
This is a test.~
|
73
|
+
This is a test too.
|
74
|
+
}}
|
75
|
+
{{left
|
76
|
+
This is a test.~
|
77
|
+
This is a test too.
|
78
|
+
}}
|
79
|
+
|
80
|
+
Usually, this plugin is not useful.
|
81
|
+
I made this plugin only for the symmetry of plugins.
|
82
|
+
|
83
|
+
** Float left
|
84
|
+
{{float_left
|
85
|
+
This is a test.
|
86
|
+
}}
|
87
|
+
This is a dummy text.~
|
88
|
+
This is a dummy text.~
|
89
|
+
This is a dummy text.~
|
90
|
+
{{float_left
|
91
|
+
This is a test.
|
92
|
+
}}
|
93
|
+
|
94
|
+
** Float right
|
95
|
+
{{float_right
|
96
|
+
This is a test.
|
97
|
+
}}
|
98
|
+
This is a dummy text.~
|
99
|
+
This is a dummy text.~
|
100
|
+
This is a dummy text.~
|
101
|
+
{{float_right
|
102
|
+
This is a test.
|
103
|
+
}}
|
104
|
+
|
105
|
+
** Style span
|
106
|
+
This is a {{style_span("font-size:200%;", "very big")}} test string.
|
107
|
+
This is a {{style_span("font-size:200%;", "very big")}} test string.
|
108
|
+
|
109
|
+
** Small
|
110
|
+
This is a {{small("small")}} string.
|
111
|
+
This is a {{small("small")}} string.
|
112
|
+
|
113
|
+
** Insert an image
|
114
|
+
{{img(".theme/i/login_qwik_logo.gif")}}
|
115
|
+
{{img(".theme/i/login_qwik_logo.gif")}}
|
116
|
+
You can specify a link.
|
117
|
+
{{img(".theme/i/login_qwik_logo.gif", "qwikWeb", "http://qwik.jp/")}}
|
118
|
+
{{img(".theme/i/login_qwik_logo.gif", "qwikWeb", "http://qwik.jp/")}}
|
119
|
+
|
120
|
+
** Make a link to a pge
|
121
|
+
{{a(FrontPage)}}
|
122
|
+
{{a(FrontPage)}}
|
123
|
+
{{a(FrontPage, go back)}}
|
124
|
+
{{a(FrontPage, go back)}}
|
125
|
+
|
126
|
+
** Ascii Art plugin
|
127
|
+
You can include ascii art.
|
128
|
+
This plugin specifies style sheet for ascii art.
|
129
|
+
|
130
|
+
{{{
|
131
|
+
{{aa
|
132
|
+
∧_∧ / ̄ ̄ ̄ ̄ ̄
|
133
|
+
( ´∀`)< monar
|
134
|
+
( ) \_____
|
135
|
+
| | |
|
136
|
+
(__)_)
|
137
|
+
}}
|
138
|
+
}}}
|
139
|
+
{{aa
|
140
|
+
∧_∧ / ̄ ̄ ̄ ̄ ̄
|
141
|
+
( ´∀`)< monar
|
142
|
+
( ) \_____
|
143
|
+
| | |
|
144
|
+
(__)_)
|
145
|
+
}}
|
146
|
+
|
147
|
+
{{aa
|
148
|
+
〇_〇
|
149
|
+
( ・(ェ)・) <Kumar!
|
150
|
+
/J ▽J
|
151
|
+
し―-J
|
152
|
+
}}
|
153
|
+
|
154
|
+
The style sheet simply set "MS P Gothic" font and the line height.
|
155
|
+
|
156
|
+
** Code plugin
|
157
|
+
You can show codes by this plugin.
|
158
|
+
{{code
|
159
|
+
puts "hello, world!"
|
160
|
+
puts "hello, qwik users!"
|
161
|
+
}}
|
162
|
+
{{code
|
163
|
+
puts "hello, world!"
|
164
|
+
puts "hello, qwik users!"
|
165
|
+
}}
|
166
|
+
You can see line number in the left of each line.
|
167
|
+
|
168
|
+
** Notice plugin
|
169
|
+
You can show a notice by this plugin.
|
170
|
+
{{notice
|
171
|
+
\'\'\'WARNING\'\'\': This is just a sample!
|
172
|
+
}}
|
173
|
+
{{notice
|
174
|
+
\'\'\'WARNING\'\'\': This is just a sample!
|
175
|
+
}}
|
176
|
+
|
177
|
+
* Monta method plugin
|
178
|
+
You can hide a part of text. Click black box and you\'ll see the text.
|
179
|
+
{{monta("This is an example.")}}
|
180
|
+
{{monta("This is an example.")}}
|
181
|
+
'
|
182
|
+
}
|
183
|
+
|
184
|
+
D_PluginStyle_ja = {
|
185
|
+
:dt => 'スタイルプラグイン',
|
186
|
+
:dd => '文字や段落の表示スタイルを選べます。',
|
187
|
+
:dc => '* 例
|
188
|
+
** CSS埋め込み
|
189
|
+
{{css
|
190
|
+
body {
|
191
|
+
background: #efe;
|
192
|
+
}
|
193
|
+
}}
|
194
|
+
{{css
|
195
|
+
body {
|
196
|
+
background: #efe;
|
197
|
+
}
|
198
|
+
}}
|
199
|
+
|
200
|
+
禁止パターン以外の任意のCSSを埋込めます。
|
201
|
+
ここではページの背景を緑色に設定してます。
|
202
|
+
|
203
|
+
*** 禁止パターン一覧
|
204
|
+
{{css_inhibit_pattern}}
|
205
|
+
|
206
|
+
** 段落へのスタイル指定
|
207
|
+
{{style_div("font-size:200%;")
|
208
|
+
This is a test.
|
209
|
+
}}
|
210
|
+
{{style_div("font-size:200%;")
|
211
|
+
This is a test.
|
212
|
+
}}
|
213
|
+
|
214
|
+
** 段落へのクラス指定
|
215
|
+
{{block_div("notice")
|
216
|
+
This is a test.
|
217
|
+
}}
|
218
|
+
{{block_div("notice")
|
219
|
+
This is a test.
|
220
|
+
}}
|
221
|
+
任意のクラスを指定できます。
|
222
|
+
|
223
|
+
** 中心寄せ
|
224
|
+
{{center
|
225
|
+
This is a test.~
|
226
|
+
This is a test too.
|
227
|
+
}}
|
228
|
+
{{center
|
229
|
+
This is a test.~
|
230
|
+
This is a test too.
|
231
|
+
}}
|
232
|
+
|
233
|
+
** 右寄せ
|
234
|
+
{{right
|
235
|
+
This is a test.~
|
236
|
+
This is a test too.
|
237
|
+
}}
|
238
|
+
{{right
|
239
|
+
This is a test.~
|
240
|
+
This is a test too.
|
241
|
+
}}
|
242
|
+
|
243
|
+
** 左寄せ
|
244
|
+
{{left
|
245
|
+
This is a test.~
|
246
|
+
This is a test too.
|
247
|
+
}}
|
248
|
+
{{left
|
249
|
+
This is a test.~
|
250
|
+
This is a test too.
|
251
|
+
}}
|
252
|
+
|
253
|
+
左寄せはあまり使われないと思いますが、
|
254
|
+
プラグインの対称性から残しています。
|
255
|
+
|
256
|
+
** 左に回りこみ
|
257
|
+
{{float_left
|
258
|
+
This is a test.
|
259
|
+
}}
|
260
|
+
This is a dummy text.~
|
261
|
+
This is a dummy text.~
|
262
|
+
This is a dummy text.~
|
263
|
+
{{float_left
|
264
|
+
This is a test.
|
265
|
+
}}
|
266
|
+
|
267
|
+
** 右に回りこみ
|
268
|
+
{{float_right
|
269
|
+
This is a test.
|
270
|
+
}}
|
271
|
+
This is a dummy text.~
|
272
|
+
This is a dummy text.~
|
273
|
+
This is a dummy text.~
|
274
|
+
{{float_right
|
275
|
+
This is a test.
|
276
|
+
}}
|
277
|
+
|
278
|
+
** テキストの一部にスタイル指定
|
279
|
+
This is a {{style_span("font-size:200%;", "very big")}} test string.
|
280
|
+
This is a {{style_span("font-size:200%;", "very big")}} test string.
|
281
|
+
|
282
|
+
** テキストを小さく
|
283
|
+
This is a {{small("small")}} string.
|
284
|
+
This is a {{small("small")}} string.
|
285
|
+
|
286
|
+
** 画像埋込み
|
287
|
+
{{img(".theme/i/login_qwik_logo.gif")}}
|
288
|
+
{{img(".theme/i/login_qwik_logo.gif")}}
|
289
|
+
リンクをはることもできます。
|
290
|
+
{{img(".theme/i/login_qwik_logo.gif", "qwikWeb", "http://qwik.jp/")}}
|
291
|
+
{{img(".theme/i/login_qwik_logo.gif", "qwikWeb", "http://qwik.jp/")}}
|
292
|
+
|
293
|
+
** ページへのリンク
|
294
|
+
{{a(FrontPage)}}
|
295
|
+
{{a(FrontPage)}}
|
296
|
+
{{a(FrontPage, go back)}}
|
297
|
+
{{a(FrontPage, go back)}}
|
298
|
+
|
299
|
+
** アスキー・アート・プラグイン
|
300
|
+
アスキー・アートを書くときにご利用下さい。
|
301
|
+
{{{
|
302
|
+
{{aa
|
303
|
+
∧_∧ / ̄ ̄ ̄ ̄ ̄
|
304
|
+
( ´∀`)< monar
|
305
|
+
( ) \_____
|
306
|
+
| | |
|
307
|
+
(__)_)
|
308
|
+
}}
|
309
|
+
}}}
|
310
|
+
{{aa
|
311
|
+
∧_∧ / ̄ ̄ ̄ ̄ ̄
|
312
|
+
( ´∀`)< monar
|
313
|
+
( ) \_____
|
314
|
+
| | |
|
315
|
+
(__)_)
|
316
|
+
}}
|
317
|
+
|
318
|
+
{{aa
|
319
|
+
〇_〇
|
320
|
+
( ・(ェ)・) <Kumar!
|
321
|
+
/J ▽J
|
322
|
+
し―-J
|
323
|
+
}}
|
324
|
+
|
325
|
+
単にフォントを「MS Pゴシック」に指定しているだけです。
|
326
|
+
|
327
|
+
** コード・プラグイン
|
328
|
+
コードを埋込むときに使います。
|
329
|
+
{{code
|
330
|
+
puts "hello, world!"
|
331
|
+
puts "hello, qwik users!"
|
332
|
+
}}
|
333
|
+
{{code
|
334
|
+
puts "hello, world!"
|
335
|
+
puts "hello, qwik users!"
|
336
|
+
}}
|
337
|
+
行番号が埋込まれます。
|
338
|
+
|
339
|
+
** 注意事項表示プラグイン
|
340
|
+
注意事項を表示するのに使えます。
|
341
|
+
{{notice
|
342
|
+
\'\'\'WARNING\'\'\': This is just a sample!
|
343
|
+
}}
|
344
|
+
{{notice
|
345
|
+
\'\'\'WARNING\'\'\': This is just a sample!
|
346
|
+
}}
|
347
|
+
|
348
|
+
* モンタ・メソッド・プラグイン
|
349
|
+
テキストの一部を隠します。クリックすると表示されます。
|
350
|
+
{{monta("This is an example.")}}
|
351
|
+
{{monta("This is an example.")}}
|
352
|
+
'
|
353
|
+
}
|
354
|
+
|
355
|
+
def plg_a(page, text=page)
|
356
|
+
return [:a, {:href=>"#{page}.html"}, text]
|
357
|
+
end
|
358
|
+
|
359
|
+
def plg_img(f, alt=f, link=nil)
|
360
|
+
img = [:img, {:src=>f, :alt=>alt}]
|
361
|
+
img = [:a, {:href=>link}, img] if link
|
362
|
+
return img
|
363
|
+
end
|
364
|
+
|
365
|
+
def plg_css_inhibit_pattern
|
366
|
+
return plg_code { CSS::INHIBIT_PATTERN.join("\n") }
|
367
|
+
end
|
368
|
+
|
369
|
+
def plg_style_div(style='', a='', &b)
|
370
|
+
return unless CSS.valid?(style)
|
371
|
+
b = ''
|
372
|
+
b = yield if block_given?
|
373
|
+
msg = a.to_s + b.to_s
|
374
|
+
x = c_res(msg)
|
375
|
+
x << '' if x.empty?
|
376
|
+
return [:div, {:style=>style}, *x]
|
377
|
+
end
|
378
|
+
|
379
|
+
def plg_block_div(div_class='', a='', &b)
|
380
|
+
return unless CSS.valid?(div_class)
|
381
|
+
b = ''
|
382
|
+
b = yield if block_given?
|
383
|
+
msg = a.to_s + b.to_s
|
384
|
+
x = c_res(msg)
|
385
|
+
x << '' if x.empty?
|
386
|
+
return [:div, {:class=>div_class}, *x]
|
387
|
+
end
|
388
|
+
|
389
|
+
def plg_float_left(a='', &b)
|
390
|
+
return plg_style_div('float:left;', &b)
|
391
|
+
end
|
392
|
+
|
393
|
+
def plg_float_right(a='', &b)
|
394
|
+
return plg_style_div('float:right;', &b)
|
395
|
+
end
|
396
|
+
|
397
|
+
def plg_left(a='', &b)
|
398
|
+
return plg_style_div('text-align:left;', &b)
|
399
|
+
end
|
400
|
+
|
401
|
+
def plg_center(a='', &b)
|
402
|
+
return plg_style_div('text-align:center;', &b)
|
403
|
+
end
|
404
|
+
|
405
|
+
def plg_right(a='', &b)
|
406
|
+
return plg_style_div('text-align:right;', &b)
|
407
|
+
end
|
408
|
+
|
409
|
+
def plg_style_span(style='', a='')
|
410
|
+
return unless CSS.valid?(style)
|
411
|
+
|
412
|
+
b = ''
|
413
|
+
b = yield if block_given?
|
414
|
+
|
415
|
+
msg = a.to_s + b.to_s
|
416
|
+
x = c_res(msg)
|
417
|
+
w = x[0]
|
418
|
+
war = []
|
419
|
+
if w.nil?
|
420
|
+
war << ''
|
421
|
+
elsif w.first == :p
|
422
|
+
w.shift
|
423
|
+
war += w
|
424
|
+
else
|
425
|
+
war << w
|
426
|
+
end
|
427
|
+
return [:span, {:style=>style}, *war]
|
428
|
+
end
|
429
|
+
|
430
|
+
def plg_small(a='', &b)
|
431
|
+
return plg_style_span('font-size:smaller;', a, &b)
|
432
|
+
end
|
433
|
+
|
434
|
+
def plg_css
|
435
|
+
str = yield
|
436
|
+
return 'error' unless CSS.valid?(str)
|
437
|
+
return [:style, str]
|
438
|
+
end
|
439
|
+
alias plg_style plg_css
|
440
|
+
|
441
|
+
# ============================== monta
|
442
|
+
MONTA_STYLE = 'background-color:black;text:black;'
|
443
|
+
MONTA_SCRIPT = "this.style.backgroundColor='transparent';this.style.text='inherited';return true;"
|
444
|
+
def plg_monta(*a)
|
445
|
+
element = :span
|
446
|
+
txt = a.shift
|
447
|
+
if block_given?
|
448
|
+
element = :div
|
449
|
+
txt = yield
|
450
|
+
end
|
451
|
+
|
452
|
+
return if txt.nil?
|
453
|
+
|
454
|
+
return [element, {:style=>MONTA_STYLE, :onmouseup=>MONTA_SCRIPT}, txt]
|
455
|
+
end
|
456
|
+
end
|
457
|
+
end
|
458
|
+
|
459
|
+
if $0 == __FILE__
|
460
|
+
require 'qwik/test-common'
|
461
|
+
$test = true
|
462
|
+
end
|
463
|
+
|
464
|
+
if defined?($test) && $test
|
465
|
+
class TestActStyle < Test::Unit::TestCase
|
466
|
+
include TestSession
|
467
|
+
|
468
|
+
def test_all
|
469
|
+
# test_a
|
470
|
+
ok_wi [:a, {:href=>"b.html"}, "b"], '{{a(b)}}'
|
471
|
+
ok_wi [:a, {:href=>"b.html"}, "c"], '{{a(b, c)}}'
|
472
|
+
|
473
|
+
# test_img
|
474
|
+
ok_wi([:img, {:alt=>"t", :src=>"t"}], '{{img(t)}}')
|
475
|
+
ok_wi([:img, {:alt=>"m", :src=>"t"}], '{{img(t, m)}}')
|
476
|
+
ok_wi([:a, {:href=>"http://e.com/"}, [:img, {:alt=>"m", :src=>"t"}]],
|
477
|
+
"{{img(t, m, http://e.com/)}}")
|
478
|
+
ok_wi([:a, {:href=>"http://qwik.jp/"},
|
479
|
+
[:img, {:alt=>"qwikWeb", :src=>".theme/i/login_qwik_logo.gif"}]],
|
480
|
+
"{{img(\".theme/i/login_qwik_logo.gif\", \"qwikWeb\", \"http://qwik.jp/\")}}")
|
481
|
+
|
482
|
+
# test_inhibit_pattern
|
483
|
+
ok_wi(/javascript/, "{{css_inhibit_pattern}}")
|
484
|
+
|
485
|
+
# test_style_div
|
486
|
+
ok_wi [:div, {:style=>"text-align:center;"}, [:p, "y"]],
|
487
|
+
"{{style_div(text-align:center;)
|
488
|
+
y
|
489
|
+
}}"
|
490
|
+
ok_wi [:div, {:style=>"text-align:center;"}, [:p, "<"]],
|
491
|
+
"{{style_div(text-align:center;)
|
492
|
+
<
|
493
|
+
}}"
|
494
|
+
ok_wi [], "{{style_div(@i)
|
495
|
+
y
|
496
|
+
}}"
|
497
|
+
|
498
|
+
# test_float_left
|
499
|
+
ok_wi [:div, {:style=>"float:left;"}, [:p, "This is a test."]],
|
500
|
+
"{{float_left
|
501
|
+
This is a test.
|
502
|
+
}}"
|
503
|
+
|
504
|
+
# test_float_right
|
505
|
+
ok_wi [:div, {:style=>"float:right;"}, [:p, "This is a test."]],
|
506
|
+
"{{float_right
|
507
|
+
This is a test.
|
508
|
+
}}"
|
509
|
+
|
510
|
+
# test_left
|
511
|
+
ok_wi [:div, {:style=>"text-align:left;"}, [:p, "a"]],
|
512
|
+
"{{left
|
513
|
+
a
|
514
|
+
}}"
|
515
|
+
|
516
|
+
# test_center
|
517
|
+
ok_wi [:div, {:style=>"text-align:center;"}, [:p, "a"]],
|
518
|
+
"{{center
|
519
|
+
a
|
520
|
+
}}"
|
521
|
+
ok_wi [:div, {:style=>"text-align:center;"}, "test"],
|
522
|
+
"{{center
|
523
|
+
{{qwik_test}}
|
524
|
+
}}"
|
525
|
+
ok_wi [:div, {:style=>"text-align:center;"},
|
526
|
+
[:img, {:alt=>"t", :src=>"t"}]],
|
527
|
+
"{{center
|
528
|
+
{{img(t)}}
|
529
|
+
}}"
|
530
|
+
|
531
|
+
# test_right
|
532
|
+
ok_wi [:div, {:style=>"text-align:right;"}, [:p, "a"]],
|
533
|
+
"{{right
|
534
|
+
a
|
535
|
+
}}"
|
536
|
+
|
537
|
+
# test_style_span
|
538
|
+
ok_wi [:p, "a", [:span, {:style=>"font-size:200%;"}, "b"], "c"],
|
539
|
+
'a{{style_span("font-size:200%;", "b")}}c'
|
540
|
+
|
541
|
+
# test_small
|
542
|
+
ok_wi [:span, {:style=>"font-size:smaller;"}, ""],
|
543
|
+
"{{small
|
544
|
+
}}"
|
545
|
+
ok_wi [:span, {:style=>"font-size:smaller;"}, "a"],
|
546
|
+
'{{small(a)}}'
|
547
|
+
ok_wi [:span, {:style=>"font-size:smaller;"}, "a"],
|
548
|
+
"{{small
|
549
|
+
a
|
550
|
+
}}"
|
551
|
+
ok_wi [:span, {:style=>"font-size:smaller;"}, "a"],
|
552
|
+
"{{small(a)
|
553
|
+
}}"
|
554
|
+
ok_wi [:span, {:style=>"font-size:smaller;"}, "aa"],
|
555
|
+
"{{small(a)
|
556
|
+
a
|
557
|
+
}}"
|
558
|
+
ok_wi [:span, {:style=>"font-size:smaller;"},
|
559
|
+
[:img, {:alt=>"t", :src=>"t"}]],
|
560
|
+
"{{small
|
561
|
+
{{img(t)}}
|
562
|
+
}}"
|
563
|
+
|
564
|
+
# test_css
|
565
|
+
ok_wi [:style, "a\n"],
|
566
|
+
"{{css
|
567
|
+
a
|
568
|
+
}}"
|
569
|
+
ok_wi [:style, "a\n"],
|
570
|
+
"{{style
|
571
|
+
a
|
572
|
+
}}"
|
573
|
+
ok_wi [:style, "h2 { color: red }\n"],
|
574
|
+
"{{css
|
575
|
+
h2 { color: red }
|
576
|
+
}}"
|
577
|
+
ok_wi ["error"], "{{css
|
578
|
+
@import
|
579
|
+
}}"
|
580
|
+
ok_wi ["error"], "{{css
|
581
|
+
\\important
|
582
|
+
}}"
|
583
|
+
ok_wi ["error"], "{{css
|
584
|
+
javascript
|
585
|
+
}}"
|
586
|
+
|
587
|
+
ok_wi [:div, {:class=>"notice"}, [:p, "y"]],
|
588
|
+
"{{block_div(notice)
|
589
|
+
y
|
590
|
+
}}"
|
591
|
+
|
592
|
+
# test_monta
|
593
|
+
ok_wi [], '{{monta}}'
|
594
|
+
ok_wi [:span, {:style=>'background-color:black;text:black;',
|
595
|
+
:onmouseup=>"this.style.backgroundColor='transparent';this.style.text='inherited';return true;"},
|
596
|
+
't'],
|
597
|
+
'{{monta(t)}}'
|
598
|
+
|
599
|
+
ok_wi [:div, {:style=>'background-color:black;text:black;',
|
600
|
+
:onmouseup=>"this.style.backgroundColor='transparent';this.style.text='inherited';return true;"},
|
601
|
+
"t
|
602
|
+
"],
|
603
|
+
"{{monta
|
604
|
+
t
|
605
|
+
}}"
|
606
|
+
end
|
607
|
+
end
|
608
|
+
end
|