mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 02:55:04 +00:00
3cf1e99cc2
This fixes a FIXME I left in the code. Previously, I just stripped the closing </li> to make sure the nested <ol> is *inside* of the <li>. This relies on (Remex) Tidy to clean the incomplete HTML up. This patch remembers the stripped </li> and adds it back. This also makes sure the nested <ol> is closed, even if it was the last element in the data structure. Notice how this does not influence any test. I find this a bit confusing. It looks like (Remex) Tidy is executed, even if the tests are not marked as "html/php+tidy". Bug: T237241 Change-Id: Idb804df46dc24406d6bba40414675b6ff4812d48 |
||
---|---|---|
.phan | ||
i18n | ||
modules | ||
src | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AUTHORS.txt | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING.txt | ||
extension.json | ||
Gruntfile.js | ||
MIT-LICENSE.txt | ||
package-lock.json | ||
package.json | ||
README.md |
Cite
The Cite extension provides a way for users to create references as footnotes to articles.
See https://www.mediawiki.org/wiki/Extension:Cite for detailed documentation.