Skip to content

Pass USFM marker behaviors through UpdateBlock metadata #206

@isaac091

Description

@isaac091

Currently, the PlaceMarkersUsfmUpdateBlockHandler relies on the marked_for_removal property of UpdateBlockElements to determine whether or not they should be placed, but that is not always adequate.

In the case where we do not want to place paragraph markers but there is a mid-verse header, the paragraph marker following said header is placed anyways, since it must be kept for the header to end in the right place. Explicitly knowing the marker placement settings would resolve this.

This will also allow us to have more options, such as "strip", "preserve", and "end" for paragraph markers.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions