diff --git a/Changelog.md b/Changelog.md
index d7b9785..3ecd18a 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,6 +1,6 @@
-V1.2.5 agustus 2022
-Content plugin
+V1.2.5 agustus 2022
+Content plugin
Update: PDFjs to v2.15.349
V1.2.5 oct 2021
diff --git a/README.md b/README.md
index b8da7a5..9a9971f 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,25 @@
+[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/donate/?business=SAT23GPU7F6AS&no_recurring=1¤cy_code=EUR)
+
# Pdfviewer
PDFviewer is a joomla content plugin which make it possible to show pdf files in content based on https://github.com/mozilla/pdf.js.
Compared to other existing pdfviewer for joomla this one is focused on integration with jDownloads and searching.
## Features
-- Set pagenumber
+- Uses the pdf.js webviewer
+- Set pagenumber to open by tag or url.
- Joomla Highlight smartsearch integration
+- Set search by url.
+- Show the PDF file as Embedded, popup or in a new window
+- Customize height and width for each PDF embedding.
- Advanced jDownloads integration
-- Show a page as a image
+- Show one page as an image
+- Editor button
+
## Examples
-Demo website: http://marijqg132.132.axc.nl/demopdfviewer/
+[Demo website](https://marijqg132.132.axc.nl/demo/)
### basic article examples
diff --git a/content_plugin/pdfviewer.php b/content_plugin/pdfviewer.php
index ccf8b9a..ce0be8a 100644
--- a/content_plugin/pdfviewer.php
+++ b/content_plugin/pdfviewer.php
@@ -137,7 +137,7 @@ public function onContentPrepare($context, &$article, &$params, $page = 0)
}
//get searchterm from tagparameters if not set yet and no page by url is given
- if (isset($tagparameters['search']) and $search =='' and isset($_GET["page"])==false) {
+ if ( $search =='' and isset($tagparameters['search']) and trim($tagparameters['search'],'"') <>'' and isset($_GET["page"])==false) {
$search = str_replace('%20', ' ' ,$tagparameters['search']); //replace dummy space
$search = trim($search);
$search = trim($search,'"'); // any combination of ' and "
diff --git a/updates_plugin.xml b/updates_plugin.xml
index 6aa8ada..9c5ea4b 100644
--- a/updates_plugin.xml
+++ b/updates_plugin.xml
@@ -7,7 +7,6 @@
pdfviewer
plugin
content
- pdfviewer
1.2.5
https://github.com/Tazzios/pdfviewer/releases