-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes for liquid tags #1270
base: master
Are you sure you want to change the base?
fixes for liquid tags #1270
Commits on Jun 13, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4c73429 - Browse repository at this point
Copy the full SHA 4c73429View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32ce3a3 - Browse repository at this point
Copy the full SHA 32ce3a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5760d1a - Browse repository at this point
Copy the full SHA 5760d1aView commit details -
liquid_tags: Simplified tag expansion logic. Support for custom tag d…
…elimiters. Previous tag expansion logic: 2 regexes, 4 calls to regex functions, plus string concatenations. Simplified tag expansion logic: 1 regex + 1 call to re.sub. Support for customizing tag delimiters comes handy when used with plugins with similar tag syntax. E.g. jinja2content.
Configuration menu - View commit details
-
Copy full SHA for 6c8d236 - Browse repository at this point
Copy the full SHA 6c8d236View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bb8f1f - Browse repository at this point
Copy the full SHA 9bb8f1fView commit details -
liquid_tags: Registering md preprocessor with register() rather than …
…the deprecated add(). <rant> The semantics of add() were inverse to the intuition because they were implicitly exposing the internals of markdown.util.Registry. E.g. a priority of ">htmlblock" did not translate to "have greater priority than htmlblock processor", as one would expect. Instead it means "when the interal processors array is sorted by priority, the new processor should have a bigger *index* number than htmlblock". The tricky point here is that the internal array is sorted in reverse. So ">htmlblock" actually translates to "use a smaller priority than htmlblock". Madness! And instead of fixing the semantics to make sense, it was chosen to deprecate add() and force us to directly supply the priority to register(). This is also bad, because we have to grep outside our codebase to determine the proper priority to achieve the desired effect. Double the madness! </rant>
Configuration menu - View commit details
-
Copy full SHA for dc744e2 - Browse repository at this point
Copy the full SHA dc744e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 289170e - Browse repository at this point
Copy the full SHA 289170eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 430135f - Browse repository at this point
Copy the full SHA 430135fView commit details -
liquid_tags: Updated expected results for include_code tests.
Tests hadn't been updated after 076086c.
Configuration menu - View commit details
-
Copy full SHA for ff41420 - Browse repository at this point
Copy the full SHA ff41420View commit details -
Configuration menu - View commit details
-
Copy full SHA for c067b3d - Browse repository at this point
Copy the full SHA c067b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd14c7f - Browse repository at this point
Copy the full SHA dd14c7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9711b8c - Browse repository at this point
Copy the full SHA 9711b8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8ab315 - Browse repository at this point
Copy the full SHA d8ab315View commit details -
liquid_tags: Prepend SITEURL to src when it is an absolute path.
This is useful when the live site is hosted in a subdirectory (e.g. http://www.foo.bar/mysite) to avoid having to repeat /mysite every time.
Configuration menu - View commit details
-
Copy full SHA for fa9795e - Browse repository at this point
Copy the full SHA fa9795eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 06bc3b0 - Browse repository at this point
Copy the full SHA 06bc3b0View commit details