p3x-html-pdf 2025.4.134 → 2025.4.136

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- # 📃 Generates PDF from HTML with custom headers and footers with wkhtmltopdf v2025.4.134
9
+ # 📃 Generates PDF from HTML with custom headers and footers with wkhtmltopdf v2025.4.136
10
10
 
11
11
 
12
12
 
@@ -153,8 +153,8 @@ const path = require('path');
153
153
  - **title**: PDF document title.
154
154
  - **saveFile**: Path for saving the PDF.
155
155
  - **base** The HTML base href is other then current directory, it can be online as well.
156
- - **css**: Customize the CSS for serving, by default it is in `src/ng-html-template.css`
157
- - **jquery**: The latest that works with webkit is jQuery v1.12.4
156
+ - **css**: Customize the CSS for serving, by default it is in `src/html-template.css`
157
+ - **jquery**: The latest that works with webkit is jQuery v1.12.4 is required, you can extend with more functions, the default is in `src/jquery-1.12.4.min.js`
158
158
  - **javascriptDelay**: The delay before the PDF is generated as default is 1000 ms.
159
159
 
160
160
  For more options, check the official [wkhtmltopdf usage guide](https://wkhtmltopdf.org/usage/wkhtmltopdf.txt).
@@ -213,9 +213,9 @@ Currently, the ARM64 binary setup is manual. If there is sufficient demand, an a
213
213
  ## 🖼️ Example Output
214
214
 
215
215
  Check out an example output PDF:
216
- [Example PDF](https://cdn.corifeus.com/git/html-pdf/assets/p3x-html-pdf-output.pdf).
216
+ [Example PDF](https://cdn.corifeus.com/git/html-pdf/assets/p3x-html-pdf-example.pdf).
217
217
 
218
- ![Example Output](https://cdn.corifeus.com/git/html-pdf/assets/p3x-html-pdf-output.png)
218
+ ![Example Output](https://cdn.corifeus.com/git/html-pdf/assets/p3x-html-pdf-example.png)
219
219
 
220
220
  ---
221
221
 
@@ -374,7 +374,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com), [corifeus.eu](ht
374
374
  ---
375
375
 
376
376
 
377
- [**P3X-HTML-PDF**](https://corifeus.com/html-pdf) Build v2025.4.134
377
+ [**P3X-HTML-PDF**](https://corifeus.com/html-pdf) Build v2025.4.136
378
378
 
379
379
  [![NPM](https://img.shields.io/npm/v/p3x-html-pdf.svg)](https://www.npmjs.com/package/p3x-html-pdf) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)
380
380
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "p3x-html-pdf",
3
- "version": "2025.4.134",
3
+ "version": "2025.4.136",
4
4
  "corifeus": {
5
5
  "prefix": "p3x-",
6
6
  "publish": true,
package/test/test.js CHANGED
@@ -6,7 +6,7 @@ const fs = require('fs');
6
6
  (async () => {
7
7
  try {
8
8
  // Delete the output file if it already exists
9
- const outputPath = path.resolve(__dirname, '..', 'assets', 'p3x-html-pdf-output.pdf');
9
+ const outputPath = path.resolve(__dirname, '..', 'assets', 'p3x-html-pdf-example.pdf');
10
10
  if (fs.existsSync(outputPath)) {
11
11
  fs.unlinkSync(outputPath);
12
12
  }
@@ -83,7 +83,7 @@ const fs = require('fs');
83
83
  <li>Accepted payment methods include credit card, bank transfer, and PayPal.</li>
84
84
  <li>Please ensure that all transactions reference the invoice number provided above.</li>
85
85
  </ul>
86
- <p style="font-size: 14px; color: #555;">If you have any questions, feel free to contact our support team at <a href="mailto:support@p3x.com">support@p3x.com</a>.</p>
86
+ <p style="font-size: 14px; color: #555;">If you have any questions, feel free to contact our support team at <a href="mailto:support@corifeus.com">support@corifeus.com</a>.</p>
87
87
  </div>
88
88
  <div class="ng-template-page-break"></div>
89
89
  <div>