# -*- coding: utf-8 -*-
#
-# Copyright © 2008,2009,2010 Fundacja Nowoczesna Polska
-#
# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
-# For full license text see COPYING or <http://www.gnu.org/licenses/agpl.html>
+# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
from librarian import dcparser, parser
from lxml import etree
text = ''.join(text)
if not wrapping:
return text
-
+
words = re.split(r'\s', text)
-
+
line_length = 0
lines = [[]]
for word in words:
result = document.transform(style, **options)
output_file = codecs.open(output_filename, 'wb', encoding='utf-8')
-
+
if parse_dublincore:
url = dcparser.parse(input_filename).url
else: