changeset 2598:b975a8b1f41c

fix docbook quote tag; do not normalize q with css reset
author RogerHaase <haaserd@gmail.com>
date Sun, 11 May 2014 09:33:30 -0700
parents 4a997d9f5e26
children 636f439f2bbf
files MoinMoin/converter/html_out.py MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/reset.css MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/reset.css
diffstat 5 files changed, 9 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/html_out.py	Fri May 09 15:30:04 2014 -0700
+++ b/MoinMoin/converter/html_out.py	Sun May 11 09:33:30 2014 -0700
@@ -450,7 +450,7 @@
         return html.p()
 
     def visit_moinpage_quote(self, elem):
-        return self.new_copy(html.quote, elem)
+        return self.new_copy(html.q, elem)
 
     def visit_moinpage_separator(self, elem):
         return self.new_copy(html.hr, elem)
--- a/MoinMoin/themes/foobar/static/css/common.css	Fri May 09 15:30:04 2014 -0700
+++ b/MoinMoin/themes/foobar/static/css/common.css	Sun May 11 09:33:30 2014 -0700
@@ -26,8 +26,8 @@
 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
 section { display: block; }
 nav ul { list-style: none; }
-blockquote, q { quotes: none; }
-blockquote:before, blockquote:after, q:before, q:after { content: none; }
+blockquote { quotes: none; }
+blockquote:before, blockquote:after { content: none; }
 a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
 ins { background-color: #ff9; color: #000; text-decoration: none; }
 mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
--- a/MoinMoin/themes/foobar/static/css/stylus/reset.css	Fri May 09 15:30:04 2014 -0700
+++ b/MoinMoin/themes/foobar/static/css/stylus/reset.css	Sun May 11 09:33:30 2014 -0700
@@ -19,8 +19,8 @@
 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
 section { display: block; }
 nav ul { list-style: none; }
-blockquote, q { quotes: none; }
-blockquote:before, blockquote:after, q:before, q:after { content: none; }
+blockquote { quotes: none; }
+blockquote:before, blockquote:after { content: none; }
 a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
 ins { background-color: #ff9; color: #000; text-decoration: none; }
 mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
--- a/MoinMoin/themes/modernized/static/css/common.css	Fri May 09 15:30:04 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/common.css	Sun May 11 09:33:30 2014 -0700
@@ -33,8 +33,8 @@
 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
 section { display: block; }
 nav ul { list-style: none; }
-blockquote, q { quotes: none; }
-blockquote:before, blockquote:after, q:before, q:after { content: none; }
+blockquote { quotes: none; }
+blockquote:before, blockquote:after { content: none; }
 a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
 ins { background-color: #ff9; color: #000; text-decoration: none; }
 mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
@@ -539,4 +539,3 @@
 ul.moin-bcs-item li{position:relative}
 ul.moin-bcs-item li ul.moin-bcs-subitems{display:none;position:absolute}
 ul.moin-bcs-item li:hover ul.moin-bcs-subitems{display:block}
-
--- a/MoinMoin/themes/modernized/static/css/stylus/reset.css	Fri May 09 15:30:04 2014 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/reset.css	Sun May 11 09:33:30 2014 -0700
@@ -19,8 +19,8 @@
 article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav,
 section { display: block; }
 nav ul { list-style: none; }
-blockquote, q { quotes: none; }
-blockquote:before, blockquote:after, q:before, q:after { content: none; }
+blockquote { quotes: none; }
+blockquote:before, blockquote:after { content: none; }
 a { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent; }
 ins { background-color: #ff9; color: #000; text-decoration: none; }
 mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }