Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • E Editoria Typescript
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • XSweet
  • Editoria Typescript
  • Issues
  • #25

Closed
Open
Created Mar 08, 2018 by Alex Theg@athegOwner

Removing italicized tab at start of paragraph drops one <em> tag

For Bakker Chapter 1:

There is an italicized tab that starts one of the paragraphs in this chapter. The tab gets removed in the very last Editoria reduce step, but the opening <em> tag also gets dropped, leaving only one self-closing <em/>. This tag causes an error in Wax and thus the chapter cannot be opened to reading and editing.

Here's what the HTML looks like after the Editoria notes step:

<p class="Default" style="font-family: Helvetica; font-size: 12pt">
  <i>
    <span class="tab"><!-- tab --></span>
  </i>
  This historical documentary material...

Then, during the Editoria basic step, the <i> tags get converted into <em>s:

<p class="Default" style="font-family: Helvetica; font-size: 12pt">
  <em>
    <span class="tab"><!-- tab --></span>
  </em>
  This historical documentary material...

Finally, in the Editoria reduce step, the tab removed, leaving only a <em/> in its place:

<p><em/>This historical documentary material...

So, when the Editoria reduce step removes tabs at the beginning of paragraphs, it needs to also remove both formatting tags if there are any.

Assignee
Assign to
Time tracking