-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Describe the bug
If the source block happens to be on top of a page break the grey bar on the left is not respecting the page margins.
To Reproduce
create the following files:
main.sdoc:
[DOCUMENT]
TITLE: long source
[TEXT]
STATEMENT: Main file
[REQUIREMENT]
UID: REQ-003
TITLE: one
STATEMENT: >>>
long source content:
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
i++
<<<
strictdoc_config.py:
from strictdoc.core.project_config import ProjectConfig
def create_config() -> ProjectConfig:
config = ProjectConfig(
project_title = "POC Bug",
project_features = [
"SEARCH",
"HTML2PDF",
],
server_host = "localhost",
server_port = 5000,
)
return config
using the current --pre strictdoc from #2503 with the current Dockerfile:
docker run --rm -v $(pwd):/data -e HOST_UID=$(id -u) -e HOST_GID=$(id -g) -p 5000:5000 -it strictdoc:latest /bin/bash -c 'cd /data && strictdoc export . --output-dir output --formats html2pdf'
Expected behavior
no grey boarder in footer and header
Screenshots

Metadata
Metadata
Assignees
Labels
No labels