diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index b4824aeca..0c41c837a 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -7,9 +7,10 @@ body: - type: markdown attributes: value: | - Dear RSS Guard contributor, please RESPECT this template. You might be interested in reading [www.chiark.greenend.org.uk](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html). - Also, ALWAYS, ALWAYS, ALWAYS attach DEBUG LOG to your bug report!!! + Dear RSS Guard contributor, ALWAYS, ALWAYS, ALWAYS attach DEBUG LOG to your bug report!!! How to generate it see [here](https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md#reprt). + + Please, RESPECT this template. You might be interested in reading [www.chiark.greenend.org.uk](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html). - type: textarea attributes: label: Brief description of the issue @@ -39,10 +40,10 @@ body: required: true - type: textarea attributes: - label: Other information - description: Write any other supplementary information here. + label: Debug log + description: Paste debug log contents here. validations: - required: false + required: true - type: textarea attributes: label: Operating system and version diff --git a/src/librssguard/gui/litehtml/litehtmlviewer.cpp b/src/librssguard/gui/litehtml/litehtmlviewer.cpp index a55cbbcfb..81e6e6e50 100755 --- a/src/librssguard/gui/litehtml/litehtmlviewer.cpp +++ b/src/librssguard/gui/litehtml/litehtmlviewer.cpp @@ -22,6 +22,8 @@ LiteHtmlViewer::LiteHtmlViewer(QWidget* parent) : QLiteHtmlWidget(parent) { return handleResource(url); }); + connect(this, &LiteHtmlViewer::linkClicked, this, &LiteHtmlViewer::setUrl); + connect(this, &LiteHtmlViewer::copyAvailable, this, [this](bool available) { if (!available) { return; @@ -79,6 +81,8 @@ void LiteHtmlViewer::setUrl(const QUrl& url) { if (qApp->web()->adBlock()->block(block_request).m_blocked) { qWarningNN << LOGSEC_ADBLOCK << "Blocked request:" << QUOTE_W_SPACE_DOT(block_request.requestUrl().toString()); + + // TODO: Display "site blocked" error. return; }