@@ -50,4 +50,4 @@ | |||||
% endfor | % endfor | ||||
</p> | </p> | ||||
</div> | </div> | ||||
<div id="container"> | |||||
<div id="container"> |
@@ -1,12 +1,12 @@ | |||||
div#cv-result-yes { | div#cv-result-yes { | ||||
padding: 0 10px 0 10px; | |||||
padding: 5px 10px 0 10px; | |||||
margin: 0 5px 10px 5px; | margin: 0 5px 10px 5px; | ||||
background-color: #FEE; | background-color: #FEE; | ||||
border: 1px solid #F77; | border: 1px solid #F77; | ||||
} | } | ||||
div#cv-result-no { | div#cv-result-no { | ||||
padding: 0 10px 0 10px; | |||||
padding: 5px 10px 0 10px; | |||||
margin: 0 5px 10px 5px; | margin: 0 5px 10px 5px; | ||||
background-color: #EFE; | background-color: #EFE; | ||||
border: 1px solid #7F7; | border: 1px solid #7F7; | ||||
@@ -42,10 +42,10 @@ def highlight_delta(context, chain, delta): | |||||
def _get_next(paragraphs): | def _get_next(paragraphs): | ||||
paragraph = paragraphs.pop(0) | paragraph = paragraphs.pop(0) | ||||
body = paragraph.split() | body = paragraph.split() | ||||
if len(body) == 1: | |||||
if len(body) <= 3: | |||||
while paragraphs: | while paragraphs: | ||||
next = paragraphs[0].split() | next = paragraphs[0].split() | ||||
if len(next) == 1: | |||||
if len(next) <= 3: | |||||
body += next | body += next | ||||
paragraphs.pop(0) | paragraphs.pop(0) | ||||
else: | else: | ||||