Skip to content

Commit

Permalink
Merge pull request #561 from GhostManager/hotfix/small-adjustments
Browse files Browse the repository at this point in the history
Small holiday adjustments
  • Loading branch information
chrismaddalena authored Dec 10, 2024
2 parents ecfbe1c + ce0988e commit d0f6ba0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
v4.3.8
6 December 2024
v4.3.9
10 December 2024
4 changes: 2 additions & 2 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions ghostwriter/modules/reportwriter/richtext/docx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d0f6ba0

Please sign in to comment.