Commit db96ae64bac562941ed2ef6175e916918ee4b05c

Authored by Miguel Barão
1 parent 6cc9f68a
Exists in master and in 1 other branch dev

- support markdown in question comments

Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
BUGS.md
1 1  
2 2 # BUGS
3 3  
  4 +- md_to_html() nao usa o segundo argumento q. pode retirar-se dos templates?
4 5 - eventos unfocus?
5 6 - servidor nao esta a lidar com eventos scroll/resize. ignorar?
6 7  
... ...
templates/review-question.html
... ... @@ -82,7 +82,7 @@
82 82 <p class="text-secondary">
83 83 <i class="fa fa-ban fa-3x" aria-hidden="true"></i>
84 84 {{ round(q['grade'] * q['points'], 2) }} pontos<br>
85   - {{ q['comments'] }}
  85 + {{ md(q['comments'], q) }}
86 86 </p>
87 87 </div> <!-- card-footer -->
88 88 </div> <!-- card -->
... ...