Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F4971
Cite.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:14 PM
2014-11-21 22:14:04 (UTC+0)
Size
982 B
Referenced Files
None
Subscribers
None
Cite.patch
View Options
--- Cite.php 2008-07-19 06:57:36.000000000 -0400
+++ Cite.php 2008-07-19 06:57:21.000000000 -0400
@@ -130,7 +130,7 @@
# The key here is the "name" attribute.
list($key,$group) = $this->refArg( $argv );
- if( $str === '' ) {
+ if( $str === '' and $key === null ) {
# <ref ...></ref>. This construct is always invalid: either
# it's a contentful ref, or it's a named duplicate and should
# be <ref ... />.
--- Cite_body.php 2008-07-19 06:57:36.000000000 -0400
+++ Cite_body.php 2008-07-19 06:57:21.000000000 -0400
@@ -130,7 +130,7 @@
# The key here is the "name" attribute.
list($key,$group) = $this->refArg( $argv );
- if( $str === '' ) {
+ if( $str === '' and $key === null ) {
# <ref ...></ref>. This construct is always invalid: either
# it's a contentful ref, or it's a named duplicate and should
# be <ref ... />.
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4534
Default Alt Text
Cite.patch (982 B)
Attached To
Mode
T16190: accept explicitly closed empty tags
Attached
Detach File
Event Timeline
Log In to Comment