hwp_script_to_latex 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/hwp_script_to_latex/converter.rb +1 -1
- data/lib/hwp_script_to_latex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7883d96181486dcfb0e2530ab4184179630092dc0a8e87e70ac95deb790b5f20
|
4
|
+
data.tar.gz: 0742a008b5170a00761deb6c65ffe9e1ff229b289d1992fb88627673ad83ce97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44a4f9c83ae3000380c123ad30b7a121343d82283d997f4d587f28c57ab5c98b36d30d65f3ab4fff67edabd05fe09dfc10887b5dcc93e3b0a59125fddb94a377
|
7
|
+
data.tar.gz: 2f8e91de2684fdcf98cf463be8a4436debaf651480fa380bb49f1a2cfc6aa3b17d0983925bd114555847914d937d907e2ac7e7270c2a6c29ca078c273bb0f6e1
|
@@ -53,7 +53,7 @@ module HwpScriptToLatex
|
|
53
53
|
# 변환 전 sanitize
|
54
54
|
def pre_sanitize(script)
|
55
55
|
# 족보닷컴 텍스트 제거
|
56
|
-
jokbo_regex = %r(from\s
|
56
|
+
jokbo_regex = %r(from\s*=+\s*(?:족보닷컴[\s\S]*?)=+)
|
57
57
|
script = script.gsub(jokbo_regex, "")
|
58
58
|
# 2개 이상의 공백을 하나의 공백으로 치환
|
59
59
|
script = script.gsub(/\s+/, " ").strip
|