create-preview: simplify the more marker lookup
This commit replaces a regular expression lookup with a simple String/indexOf substring search. It addresses pathological cases in which re-find took several seconds to process contents of a blog post. An example of such a case was a post with 16kB of nested HTML tags in a single line.master
parent
e4a56d2140
commit
1b4306c3a3
Loading…
Reference in New Issue