require "spec_helper" RSpec.describe IsoDoc do it "processes unordered lists" do input = <<~INPUT
  • updated normative references;

  • deletion of 4.3.

INPUT output = <<~OUTPUT #{HTML_HDR}

Foreword

OUTPUT expect(xmlpp(IsoDoc::HtmlConvert.new({}) .convert("test", input, true))) .to be_equivalent_to xmlpp(output) end it "processes unordered checklists" do input = <<~INPUT

INPUT output = <<~OUTPUT #{HTML_HDR}

Foreword

OUTPUT expect(xmlpp(IsoDoc::HtmlConvert.new({}) .convert("test", input, true))) .to be_equivalent_to xmlpp(output) end it "processes unordered checklists (Word)" do input = <<~INPUT

INPUT output = <<~OUTPUT

 



Foreword

A Deflist

W

mass fraction of gelatinized kernels

X

expressed in per cent

 


OUTPUT expect(xmlpp(IsoDoc::WordConvert.new({}) .convert("test", input, true))) .to be_equivalent_to xmlpp(output) end end