diff --git a/Makefile b/Makefile index f5f802b..2d325c7 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ default: - python3 html-combiner.py \ No newline at end of file + ./html-combiner.py \ No newline at end of file diff --git a/html-combiner.py b/html-combiner.py index a557b67..a00bc27 100755 --- a/html-combiner.py +++ b/html-combiner.py @@ -57,7 +57,7 @@ def get_included_name(contents): marker_start, marker_end = get_marker_indices(contents) name_start = marker_start + len(INCLUDE_MARKER) name_end = marker_end - return contents[name_start:name_end] + return contents[name_start:name_end].strip() def get_marker_indices(contents: str) -> tuple: