diff --git a/app/Utils/HtmlEngine.php b/app/Utils/HtmlEngine.php
index abe051a35c..78e9193891 100644
--- a/app/Utils/HtmlEngine.php
+++ b/app/Utils/HtmlEngine.php
@@ -317,7 +317,7 @@ class HtmlEngine
$data['_rate2'] = ['value' => '', 'label' => ctrans('texts.tax')];
$data['_rate3'] = ['value' => '', 'label' => ctrans('texts.tax')];
- $data['$font-size'] = ['value' => $this->settings->font_size . 'px', 'label' => ''];
+ $data['$font_size'] = ['value' => $this->settings->font_size . 'px', 'label' => ''];
$data['$invoiceninja.whitelabel'] = ['value' => asset('images/created-by-invoiceninja-new.png'), 'label' => ''];
diff --git a/resources/views/pdf-designs/bold.html b/resources/views/pdf-designs/bold.html
index 8560d000c2..fa0b1a4c23 100644
--- a/resources/views/pdf-designs/bold.html
+++ b/resources/views/pdf-designs/bold.html
@@ -8,7 +8,7 @@
* {
margin: 0;
padding: 0;
- font-size: '$font-size';
+ font-size: '$font_size';
}
body {
diff --git a/resources/views/pdf-designs/business.html b/resources/views/pdf-designs/business.html
index b75e2d489d..dce27f8c5e 100644
--- a/resources/views/pdf-designs/business.html
+++ b/resources/views/pdf-designs/business.html
@@ -9,7 +9,7 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Arial, Helvetica, sans-serif;
- font-size: '$font-size';
+ font-size: '$font_size';
}
@page {
diff --git a/resources/views/pdf-designs/clean.html b/resources/views/pdf-designs/clean.html
index 0d84d8e69d..c3919f4220 100644
--- a/resources/views/pdf-designs/clean.html
+++ b/resources/views/pdf-designs/clean.html
@@ -10,7 +10,7 @@
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Arial, Helvetica, sans-serif;
- font-size: '$font-size';
+ font-size: '$font_size';
margin: 1cm;
}
diff --git a/resources/views/pdf-designs/creative.html b/resources/views/pdf-designs/creative.html
index 12afeced77..15f2f573de 100644
--- a/resources/views/pdf-designs/creative.html
+++ b/resources/views/pdf-designs/creative.html
@@ -6,7 +6,7 @@