Skip to content

<raw> tags don't support multi-line html #109

@SampsonCrowley

Description

@SampsonCrowley

since this is an HTML based library, I found this functionality to be extremely surprising. I will submit a PR to fix as soon as I can

input

<body>
  <raw>
    <<LCG ProgramTG LCG Coupon Code Default='246996'>>
    <button>
  </raw>
</body>

expected

<body>
    <<LCG ProgramTG LCG Coupon Code Default='246996'>>
    <button>
</body>

output

<body>
  <raw>
    <<lcg programtg lcg coupon code default="246996">>
      <table class="button">
        <tbody>
          <tr>
            <td>
              <table>
                <tbody>
                  <tr>
                    <td>
                      </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      </lcg>
  </raw>
</body>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions