diff --git a/app.py b/app.py index 1f396f8..a5b2bb5 100644 --- a/app.py +++ b/app.py @@ -13,7 +13,6 @@ To-do: Styles Bible Reading Plan Bible Viewer -fix Multiple Reference resolving /show """ def dbg(message): @@ -196,7 +195,11 @@ def show(): if ref is None: return send_file("html/show.html") dbg("show({})".format(ref)) - ref = ref_input_cleaning(ref) + refs = [] + for r in ref.split(','): + r_ = ref_input_cleaning(r) + if r_: + refs.append(r_) if not ref: return("Invalid Query") verse_results = [] diff --git a/html/show.html b/html/show.html index f18c6d6..42cc0fa 100644 --- a/html/show.html +++ b/html/show.html @@ -15,3 +15,4 @@

You can try to search a Bible reference in this box, such as "1 John 5:7".

You can use abbreviations, but you may not get the result you are looking for.

Use a dash for the verse to get the entire chapter, eg. "John 3:-"

+

You may return multiple verse groups by using a comma, eg. "John3:16,2Peter2:1"