1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-23 01:06:17 +00:00

Stickers are now shown in the HTML export. Closes #24.

This commit is contained in:
Fabian Schlenz 2016-10-05 13:47:25 +02:00
parent 3a615f94af
commit 42da94d290
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<span class="time">{{formatted_time}}</span> <span class="time">{{formatted_time}}</span>
<span class="sender">{{user_first_name}}</span> <span class="sender">{{user_first_name}}</span>
{{#text}}<span class="text">{{text}}</span>{{/text}} {{#text}}<span class="text">{{text}}</span>{{/text}}
{{#media_sticker}}<span class="sticker"><img src="../../../stickers/{{media_file}}" /></span>{{/media_sticker}} {{#media_sticker}}<span class="sticker"><img src="../stickers/{{media_file}}" /></span>{{/media_sticker}}
{{#media_photo}}<span class="photo"><img src="../{{media_file}}" /></span>{{/media_photo}} {{#media_photo}}<span class="photo"><img src="../{{media_file}}" /></span>{{/media_photo}}
{{#media_document}}<span class="document"><a href="../{{media_file}}">{{media_file}}</a></span>{{/media_document}} {{#media_document}}<span class="document"><a href="../{{media_file}}">{{media_file}}</a></span>{{/media_document}}
</li> </li>

View File

@ -32,7 +32,7 @@ li.message .photo {
vertical-align: top; vertical-align: top;
} }
li.message .photo img { li.message .photo img, li.message .sticker img {
max-width: 250px; max-width: 250px;
max-height: 250px; max-height: 250px;
} }