Browse Source

iss27: render linebreaks in document classification and seq2seq tasks

pull/34/head
Bramble Xu 6 years ago
parent
commit
02d74bfd8e
2 changed files with 2 additions and 2 deletions
  1. 2
      app/server/templates/annotation/document_classification.html
  2. 2
      app/server/templates/annotation/seq2seq.html

2
app/server/templates/annotation/document_classification.html

@ -31,7 +31,7 @@
</div> </div>
<hr style="margin: 0.8rem 0;"> <hr style="margin: 0.8rem 0;">
<div class="content" v-if="docs[pageNumber]"> <div class="content" v-if="docs[pageNumber]">
[[ docs[pageNumber].text ]]
<span style="white-space: pre-wrap;">[[ docs[pageNumber].text ]]</span>
</div> </div>
</div> </div>
</div> </div>

2
app/server/templates/annotation/seq2seq.html

@ -4,7 +4,7 @@
<div class="card has-text-weight-bold has-text-white has-background-royalblue"> <div class="card has-text-weight-bold has-text-white has-background-royalblue">
<div class="card-content"> <div class="card-content">
<div class="content" v-if="docs[pageNumber]"> <div class="content" v-if="docs[pageNumber]">
[[ docs[pageNumber].text ]]
<span style="white-space: pre-wrap;">[[ docs[pageNumber].text ]]</span>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save