diff --git a/app/config.py b/app/config.py index 3397773..594b7ef 100644 --- a/app/config.py +++ b/app/config.py @@ -1,5 +1,5 @@ """Application configuration.""" -VERSION = "4.7.0" +VERSION = "4.8.0" MAX_FILE_SIZE_MB = 10 DEFAULT_COLOR = "#ffffff" diff --git a/app/core/pdf_generator.py b/app/core/pdf_generator.py index e497460..99e84e7 100644 --- a/app/core/pdf_generator.py +++ b/app/core/pdf_generator.py @@ -609,7 +609,7 @@ def generate_pdf(doc) -> bytes: c.restoreState() # If block has a URL, make the entire block a clickable link - if getattr(block, 'url', None): + if block.url: c.linkURL(block.url, (bx + inset, row_y + inset, bx + bw - inset, row_y + row_h - inset), diff --git a/app/static/index.html b/app/static/index.html index a01207d..02cf640 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -7,13 +7,13 @@ - +

Scénář Creator

- v4.7 + v4.8