dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
de460f8
)
Merge "Tiny clean up of Parser::doQuotes()"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 21 Aug 2015 21:31:01 +0000
(21:31 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 21 Aug 2015 21:31:01 +0000
(21:31 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
2eec08b
..
3d5d23e
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-1628,12
+1628,10
@@
class Parser {
$firstspace = $i;
}
} elseif ( $x2 === ' ' ) {
- if ( $firstsingleletterword == -1 ) {
- $firstsingleletterword = $i;
- // if $firstsingleletterword is set, we don't
- // look at the other options, so we can bail early.
- break;
- }
+ $firstsingleletterword = $i;
+ // if $firstsingleletterword is set, we don't
+ // look at the other options, so we can bail early.
+ break;
} else {
if ( $firstmultiletterword == -1 ) {
$firstmultiletterword = $i;