]> git.lyx.org Git - features.git/commit
Links between citations and bibliography entries were broken in XHTML
authorRichard Heck <rgheck@lyx.org>
Wed, 27 Mar 2013 19:46:32 +0000 (15:46 -0400)
committerRichard Heck <rgheck@lyx.org>
Wed, 27 Mar 2013 19:59:36 +0000 (15:59 -0400)
commit4df02801a6e01356a3af033466864197d8e18f11
treef78e3ec6e5ecebb5232a30ee6aaa6a7c6b9db9bf
parent54cff4129f7afb9a32e6cff1a69e7e844d97f83a
Links between citations and bibliography entries were broken in XHTML
output, due to failure to clean the ids in the new citation stuff.

I've solved this by allowing the citation format information to contain
keys of the form "clean:key". This signals that we are to apply the
html::cleanAttr() function to the key before returning it. I.e., we
strip non-alphanumeric stuff, basically.
lib/layouts/basic.module
lib/layouts/jurabib.module
lib/layouts/natbib.module
src/BiblioInfo.cpp
src/insets/InsetCitation.cpp