- 
                Notifications
    
You must be signed in to change notification settings  - Fork 33
 
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Input
<div class="code-container">
  <ul class="root code-block">
    <li>
      <span class="type">Bar</span>
    </li>
    <li>
      <ul class="content">
        <li>
          <span class="indentation">  </span>
...truncated...Output
<div class="code-container">
  <ul class="root code-block">
    <li>
      <span class="type">Bar</span>
    </li>
    <li>
      <ul class="content">
        <li>
          <span class="indentation"></span>
...truncated...Problem
The two spaces in <span class="indentation">  </span> are gone.
My css looks like this
.indentation {
  display: inline-block;
  white-space: pre;
}In case mangling whitespace is unavoidable consider:
- not disturbing whitespace when open and close tag is on the same line
 - not disturbing whitespace specifically
 - not disturbing whitespace when tag has 
white-space: pre;associated with it 
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working