Skip to content

Conversation

@davidlowryduda
Copy link
Member

The output generated from make lmfdb is placed into the lmfdb, which
has jinja expansion. The pattern {{ and }} leads to errors, as these
indicate code in jinja. This commit has the make lmfdb command replace
each {{ with { { and }} with } }.

The output generated from `make lmfdb` is placed into the lmfdb, which
has jinja expansion. The pattern `{{` and `}}` leads to errors, as these
indicate code in jinja. This commit has the `make lmfdb` command replace
each `{{` with `{ {` and `}}` with `} }`.
davidlowryduda added a commit to davidlowryduda/lmfdb that referenced this pull request Nov 29, 2017
The problem in LMFDB#2332 went unnoticed because of a lack of testing. This
commit adds tests for the base citations page and the "How to Cite" the
lmfdb page. These tests really just check that these pages exist. It
also tests a specific reference in the citation list and tests for its
bib entry in the associated bibliography list. This would catch the
problem from LMFDB#2332.

Note that I've also submitted a pull request to the LMFDB/citations
repository to prevent this issue from coming up. This is
LMFDB/citations#9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant