From d2c937cc6e34ab8fa7939a8f4fa482bf2dda70e2 Mon Sep 17 00:00:00 2001 From: Christopher Maddalena Date: Tue, 10 Dec 2024 13:13:23 -0800 Subject: [PATCH 1/2] Fixed title casing on the first word of a caption --- ghostwriter/modules/reportwriter/richtext/docx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ghostwriter/modules/reportwriter/richtext/docx.py b/ghostwriter/modules/reportwriter/richtext/docx.py index 35ee07910..8622dbe6c 100644 --- a/ghostwriter/modules/reportwriter/richtext/docx.py +++ b/ghostwriter/modules/reportwriter/richtext/docx.py @@ -351,8 +351,8 @@ def title_except(self, s): """ if self.title_case_captions: word_list = re.split(" ", s) # re.split behaves as expected - final = [word_list[0].capitalize()] - for word in word_list[1:]: + final = [] + for word in word_list: final.append( word if word in self.title_case_exceptions or word.isupper() or self.is_plural_acronym(word) From 3f42155d0e94d602c60c008db90de8a190ce0253 Mon Sep 17 00:00:00 2001 From: Christopher Maddalena Date: Tue, 10 Dec 2024 13:14:03 -0800 Subject: [PATCH 2/2] Updated for v4.3.9 --- CHANGELOG.md | 10 ++++++++++ VERSION | 4 ++-- config/settings/base.py | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef3dc6412..8ab4539d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.3.9] - 10 December 2024 + +### Changed + +* Evidence previews for custom fields and evidence detail pages now display evidence at 6.5" wide to mimic the standard full-width seen in a Word document + +### Fixed + +* Fixed an issue that could cause improper casing for the first word in a caption + ## [4.3.8] - 6 December 2024 ### Added diff --git a/VERSION b/VERSION index b2a983c13..f65dcc4b8 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -v4.3.8 -6 December 2024 +v4.3.9 +10 December 2024 diff --git a/config/settings/base.py b/config/settings/base.py index 0416ed40c..6bf047012 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -11,9 +11,9 @@ # 3rd Party Libraries import environ -__version__ = "4.3.8" +__version__ = "4.3.9" VERSION = __version__ -RELEASE_DATE = "6 December 2024" +RELEASE_DATE = "10 December 2024" ROOT_DIR = Path(__file__).resolve(strict=True).parent.parent.parent APPS_DIR = ROOT_DIR / "ghostwriter"