Emoji Spacing Consistency Fixes
This patch release fixes emoji spacing issues in Scriban templates to ensure consistent markdown rendering across platforms (GitHub, Azure DevOps).
๐ Bug Fixes
Fixed emoji spacing in code analysis templates
Fixed inconsistent emoji spacing where regular spaces (U+0020) were used instead of non-breaking spaces (U+00A0) after emoji characters. This caused unpredictable line wrapping behavior in different markdown renderers.
Templates fixed:
-
_code_analysis_summary.sbn: Fixed spacing for status emojis (โ โ, ๐จ, โ ๏ธ) and severity indicators in the summary table (๐จ Critical, โ ๏ธ High/Medium, โน๏ธ Low/Informational) -
_code_analysis_metadata.sbn: Fixed spacing in per-resource security metadata line and severity breakdown (๐ Security & Quality heading, ๐จ Critical, โ ๏ธ High/Medium, โน๏ธ Low/Informational indicators) -
_code_analysis_findings.sbn: Fixed spacing in severity icons within the findings table (๐ Security & Quality Findings heading, severity column icons) -
_code_analysis_other_findings.sbn: Fixed spacing in module and unmatched findings tables (severity column icons) -
azapi/resource.sbn: Fixed spacing for action symbol in resource headings and documentation link icon (๐ View API Documentation)
Impact: These fixes ensure that emoji + text tokens (like ๐จ Critical or ๐ Documentation) stay together when markdown is rendered, preventing emojis from wrapping to separate lines in narrow layouts or certain rendering contexts.
๐ Commits
d1d181fSNAPSHOT_UPDATE_OK: Add template emoji spacing test and increase Docker timeout
๐งช Testing Improvements (internal)
While not user-facing, this release includes significant test coverage improvements:
- Added
Templates_ShouldNotContainEmojiFollowedByRegularSpace()architecture test that scans all 21 Scriban templates across all providers (core, AzureRM, AzApi, AzureAD, AzureDevOps) to prevent regression - Extended template architecture tests to cover AzureAD and AzureDevOps providers
- Added comprehensive demo snapshot test with full provider coverage, code analysis, and principal mappings
- Increased Docker test timeout from 60s to 90s for reliability in CI environments
โถ๏ธ Getting Started
No usage changes โ just pull the latest image:
docker pull oocx/tfplan2md:1.13.1
# or
docker pull oocx/tfplan2md:latest
# Usage remains the same
tfplan2md plan.json > plan.mdIf you're generating reports with code analysis findings (using --code-analysis-files), you'll now see consistent emoji spacing in severity indicators and status messages across all markdown platforms.