FIX api html转纯文本t

This commit is contained in:
Jasder 2020-03-20 20:55:18 +08:00
parent da743c18ba
commit 9953a651b1
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
json.id project.id
json.identifier project.identifier
json.name project.name
json.description project.description
json.description Nokogiri::HTML(project.description).text
json.visits project.visits
json.praises_count project.praises_count
json.forked_count project.forked_count