Closed yacchin1205 closed 4 months ago
The following errors are found and I will attempt to resolve them.
2) ep_headings2 - export headings to HTML
when pad text has multiple Headings and align tags
returns HTML with Multiple Headings HTML tags:
Error: No H1 tag detected
at Context.<anonymous> (/home/ubuntu/etherpad-lite/node_modules/.pnpm/ep_headings2@0.2.62/node_modules/ep_headings2/static/tests/backend/specs/exportHTML.js:118:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Details of the No H1 tag detected
error are as follows. I revised the expected pattern, as it looks functional.
Expected: <h1 style=\'text-align:left\'>Hello world</h1>
Actual: <h1 style=\'text-align:left\'>Hello world</h1>
(Actual has one more blank than Expected.)
The backend test of etherpad-lite was outputting the error like below:
This is the same cause as the ep_font_size error, so I fixed this.