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