diff --git a/pages/copyvios.mako b/pages/copyvios.mako index 2981da4..6a49c0a 100644 --- a/pages/copyvios.mako +++ b/pages/copyvios.mako @@ -127,8 +127,8 @@ - - + +
Article:
${highlight_delta(result.article_chain, result.delta_chain)}
Source:
${highlight_delta(result.source_chain, result.delta_chain)}
Article:

${highlight_delta(result.article_chain, result.delta_chain)}

Source:

${highlight_delta(result.source_chain, result.delta_chain)}

diff --git a/toolserver/copyvios/highlighter.py b/toolserver/copyvios/highlighter.py index 539b3d7..147ccd6 100644 --- a/toolserver/copyvios/highlighter.py +++ b/toolserver/copyvios/highlighter.py @@ -37,7 +37,7 @@ def highlight_delta(context, chain, delta): processed.append(u" ".join(words)) i += 1 - return u"

" + u"

\n

".join(processed) + u"

" + return u"

".join(processed) def _get_next(paragraphs): paragraph = paragraphs.pop(0)