remove leading space when importing
This commit is contained in:
parent
812c192910
commit
ea568c7ead
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ def import_wcag21de
|
|||
# guideline.save!
|
||||
|
||||
guideline_node.css("section.sc").each do |sc|
|
||||
sc_title = sc.css("h4").first.content.scan(/Erfolgskriterium \d+\.\d+\.\d+(.*)/).first.last
|
||||
sc_title = sc.css("h4").first.content.scan(/Erfolgskriterium \d+\.\d+\.\d+ (.*)/).first.last
|
||||
sc_number = sc.css("h4").first.content.scan(/Erfolgskriterium (\d+\.\d+\.\d+).*/).first.last
|
||||
sc_level = sc.css("p").first.content.scan(/\(Stufe (A+)\)/).first.last
|
||||
sc_url = sc.css("h4 a.self-link").first.attr("href")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue