mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2025-05-28 13:44:12 -04:00
Html-encode date ranges in html export
This commit is contained in:
parent
7ecf90d1cb
commit
69088b83eb
1 changed files with 3 additions and 3 deletions
|
@ -27,11 +27,11 @@
|
|||
{{ if From || To }}
|
||||
<div class="info__channel-date-range">
|
||||
{{ if From && To }}
|
||||
Between {{ From | FormatDate }} and {{ To | FormatDate }}
|
||||
Between {{ From | FormatDate | HtmlEncode }} and {{ To | FormatDate | HtmlEncode }}
|
||||
{{ else if From }}
|
||||
After {{ From | FormatDate }}
|
||||
After {{ From | FormatDate | HtmlEncode }}
|
||||
{{ else if To }}
|
||||
Before {{ To | FormatDate }}
|
||||
Before {{ To | FormatDate | HtmlEncode }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue