<!-- ========================================== -->
<!-- Title page -->
<xsl:template match="autor_utworu" mode="header">
- <span class="author editable"><xsl:apply-templates mode="inline" /></span>
+ <span class="author"><xsl:apply-templates mode="inline" /></span>
</xsl:template>
<xsl:template match="nazwa_utworu" mode="header">
- <span class="title editable"><xsl:apply-templates mode="inline" /></span>
+ <span class="title"><xsl:apply-templates mode="inline" /></span>
</xsl:template>
<xsl:template match="dzielo_nadrzedne" mode="header">
</xsl:template>
<xsl:template match="akap|akap_dialog|akap_cd">
- <p class="paragraph editable"><xsl:apply-templates mode="inline" /></p>
+ <p class="paragraph"><xsl:apply-templates mode="inline" /></p>
</xsl:template>
<xsl:template match="strofa">
- <div class="stanza editable">
+ <div class="stanza">
<xsl:choose>
<xsl:when test="count(br) > 0">
<xsl:call-template name="verse">
from nose.tools import *
from utils import get_fixture, remove_output_file
-
def teardown_transform():
remove_output_file('text', 'asnyk_miedzy_nami.html')
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+from __future__ import with_statement
from os.path import realpath, join, dirname
import glob
import os
-
def get_fixture_dir(dir_name):
"""Returns path to fixtures directory dir_name."""
return realpath(join(dirname(__file__), 'files', dir_name))