Fix broken HTML message preview with some Reddit feeds.
This commit is contained in:
parent
eae86a4d4e
commit
2c33807ef8
@ -7242,7 +7242,7 @@ a.list-group-item-danger.active:focus {
|
||||
|
||||
</style>
|
||||
|
||||
<!-- %1 gets replaced by actual title of the message by RSS Guard. -->
|
||||
<!-- PERCENTAGE-1 gets replaced by actual title of the message by RSS Guard. -->
|
||||
<title>
|
||||
%1
|
||||
</title>
|
||||
@ -7276,7 +7276,7 @@ a.list-group-item-danger.active:focus {
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<!-- %2 gets replaced by contents of message(s). -->
|
||||
<!-- PERCENTAGE-2 gets replaced by contents of message(s). -->
|
||||
<body>
|
||||
%2
|
||||
</body>
|
||||
|
@ -5938,7 +5938,7 @@
|
||||
|
||||
</style>
|
||||
|
||||
<!-- %1 gets replaced by actual title of the message by RSS Guard. -->
|
||||
<!-- PERCENTAGE-1 gets replaced by actual title of the message by RSS Guard. -->
|
||||
<title>
|
||||
%1
|
||||
</title>
|
||||
@ -5972,7 +5972,7 @@
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<!-- %2 gets replaced by contents of message(s). -->
|
||||
<!-- PERCENTAGE-2 gets replaced by contents of message(s). -->
|
||||
<body>
|
||||
%2
|
||||
</body>
|
||||
|
@ -120,6 +120,7 @@ void WebViewer::loadMessages(const QList<Message>& messages, RootItem* root) {
|
||||
m_root = root;
|
||||
m_messageContents = skin.m_layoutMarkupWrapper.arg(messages.size() == 1 ? messages.at(0).m_title : tr("Newspaper view"),
|
||||
messages_layout);
|
||||
|
||||
bool previously_enabled = isEnabled();
|
||||
|
||||
setEnabled(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user