mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00:00
Removed fixed fixme
This commit is contained in:
parent
03b81c2e54
commit
45e36b702c
@ -96,14 +96,12 @@ module Tartrazine
|
|||||||
}
|
}
|
||||||
if config
|
if config
|
||||||
l.config = {
|
l.config = {
|
||||||
name: xml_to_s(config, name) || "",
|
name: xml_to_s(config, name) || "",
|
||||||
aliases: xml_to_a(config, _alias) || [] of String,
|
aliases: xml_to_a(config, _alias) || [] of String,
|
||||||
filenames: xml_to_a(config, filename) || [] of String,
|
filenames: xml_to_a(config, filename) || [] of String,
|
||||||
mime_types: xml_to_a(config, mime_type) || [] of String,
|
mime_types: xml_to_a(config, mime_type) || [] of String,
|
||||||
priority: xml_to_f(config, priority) || 0.0,
|
priority: xml_to_f(config, priority) || 0.0,
|
||||||
not_multiline: xml_to_s(config, not_multiline) == "true",
|
not_multiline: xml_to_s(config, not_multiline) == "true",
|
||||||
# FIXME: Because Crystal's multiline flag forces dot_all this
|
|
||||||
# doesn't work perfectly yet.
|
|
||||||
dot_all: xml_to_s(config, dot_all) == "true",
|
dot_all: xml_to_s(config, dot_all) == "true",
|
||||||
case_insensitive: xml_to_s(config, case_insensitive) == "true",
|
case_insensitive: xml_to_s(config, case_insensitive) == "true",
|
||||||
ensure_nl: xml_to_s(config, ensure_nl) == "true",
|
ensure_nl: xml_to_s(config, ensure_nl) == "true",
|
||||||
|
Loading…
Reference in New Issue
Block a user