-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Quality Control
Philipp Zumstein edited this page Jan 22, 2015
·
14 revisions
Here we keep track of problematic CSL code patterns we have observed in the wild, and provide information on how they can be detected and corrected.
If the second field in the bibliography is flushed, then it should not have a space as a prefix.
Search patterns
<bibliography[^>]*second-field-align="flush"[^>]*>.*<layout[^>]*>\r\n\s*<text variable="citation-number"[^>]*/>\r\n\s*<text[^>]*prefix=" "
Fix
It seems possible to automatically delete the last prefix attribute in this pattern. No, critical case found. Moreover, no case with a different prefix beginning with a space found.
History