Skip to content

Commit

Permalink
fix: hide hiddenInContent in content
Browse files Browse the repository at this point in the history
Signed-off-by: qwq233 <[email protected]>
  • Loading branch information
qwq233 committed Mar 8, 2022
1 parent 7082f1f commit 96372ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/top/qwq2333/generate/HtmlContent.kt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ object HtmlContent {
fun genToCElement(list: List<Content>): String {
val sb = StringBuilder()
for (content in list) {
if (content.hiddenInContent){
continue
}
if (content.type == Defines.subcontent) {
sb.append(genToCElement(content.content!!))
}
Expand Down

0 comments on commit 96372ac

Please sign in to comment.