Format File Changes from 2022.1.4395 to 2023.1.4515

Changes to files in Formats/ between ePublisher 2022.1.4395 and 2023.1.4515. Users who have created project-level overrides for any listed file should review and merge the corresponding changes.

Shared

File

Category

Summary

reverb/url_maps.xsl

Transform

Refactors relative URL computation to convert file paths to URIs before calling GetRelativeTo; removes EncodeURI wrapping on result, fixing href generation for Reverb URL maps

WebWorks Reverb 2.0

File

Category

Summary

API/reverb-search.js

Scripting

Extended search highlight pipeline to pass minimum_word_length and stop_words; rewrote ParseWordsAndPhrases phrase-detection; added ParseSearchWords and ApplyWordBreaks functions; shortened localStorage field names

Pages/Connect.asp

UI

Added configurable CSS class binding to TOC content div for toc-icon-position setting (left/right)

Pages/Index.asp

UI

Changed index content delivery from server-rendered HTML div to JSON script tag (type="application/json") for client-side parsing

Pages/sass/_functions.scss

Styling

Fixed TOC indentation calculation to add actual indentation amount per level rather than hardcoded 1em

Pages/sass/_sizes.scss

Styling

Added $menu_toc_item_padding_left and $menu_toc_item_icon_width variables; changed indentation to be based on icon width

Pages/sass/skin.scss

Styling

Added flex layout to TOC entries; split icon into own rule; added .toc_icons_left/.toc_icons_right modifier classes; corrected icon width variable

Pages/sass/webworks.scss

Styling

Removed vertical-align: bottom from TOC-related rule

Pages/scripts/common.js

Scripting

Changed index content retrieval from document.body.innerHTML to querySelector('#index-data').innerText for new JSON delivery model

Pages/scripts/connect.js

Scripting

Extracted Index into standalone object with JSON parsing (replacing DOM scraping); added merged-index support (GLOBAL_USE_MERGED_INDEX); refactored search highlight messaging

Pages/scripts/page.js

Scripting

Extended SearchQueryHighlight to forward minimum_word_length and stop_words; added 50px top scroll offset correction

Pages/scripts/search-client.js

Scripting

Renamed camelCase params to snake_case; rewrote phrase-detection logic; added RemoveUnbalancedQuote helper; extended SearchQueryToExpressions with stop_words filtering

Pages/scripts/search.js

Scripting

Passed minimum_word_length and stop_words through to expressions; shortened localStorage field names; improved stop-word intersection logic

Transforms/baggage-files.xsl

Transform

Simplified baggage file variable lookup by removing intermediate msxsl:node-set() conversion

Transforms/connect.fti

Configuration

Added toc-icon-position setting (group: toc, default: left, values: left/right)

Transforms/connect.xsl

Transform

Added GLOBAL_USE_MERGED_INDEX replacement; added toc-content-class replacement; refactored TOC icon rendering for left/right positioning

Transforms/content.xsl

Transform

Broadened external-link detection regex to match relative paths containing a slash; updated target="_blank" condition for file URIs

Transforms/index.fti

Configuration

Added index-combined-enabled boolean setting (default: true) for merged/separate index control

Transforms/index.xsl

Transform

Complete rewrite: replaced HTML index output with JSON serialization template emitting structured groups, entries, links, children, and sort keys

Transforms/parcel.xsl

Transform

Added toc-icon-position support to parcel-level TOC entry rendering

PDF

File

Category

Summary

PDF/Transforms/files.xsl

Transform

Removed project-files iteration block that copied wwprojfile-sourced assets into PDF output group

PDF - XSL-FO/Transforms/files.xsl

Transform

Same fix applied to XSL-FO variant — removed project-files iteration block

WebWorks Help

File

Category

Summary

Files/wwhelp/wwhimpl/common/scripts/browser.js

Scripting

Guards blank.htm location.replace() with ParamReplaced check and propagates replaced state, preventing infinite replace loop

WebWorks Reverb

File

Category

Summary

Pages/css/webworks.css

Styling

Removed vertical-align: bottom from CSS rule, changing vertical alignment behavior