projects
/
euphorik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9aef4d
)
REPORT de la branche 1.1 : 439->439
author
Greg Burri
<greg.burri@gmail.com>
Wed, 3 Sep 2008 08:42:41 +0000
(08:42 +0000)
committer
Greg Burri
<greg.burri@gmail.com>
Wed, 3 Sep 2008 08:42:41 +0000
(08:42 +0000)
js/formateur.js
patch
|
blob
|
history
diff --git
a/js/formateur.js
b/js/formateur.js
index
b7ec0eb
..
5e8095a
100644
(file)
--- a/
js/formateur.js
+++ b/
js/formateur.js
@@
-110,12
+110,12
@@
euphorik.Formateur.prototype.traiterURL = function(m, pseudo) {
*/
\r
euphorik.Formateur.prototype.traiterWikiSyntaxe = function(m) {
\r
return m.replace(
\r
- /
_(.*?)_
/g,
\r
+ /
(?:^| )_(.*?)_(?:$| )
/g,
\r
function(texte, capture) {
\r
return '<em class="leger">' + capture + '</em>';
\r
}
\r
).replace(
\r
- /
\*(.*?)\*
/g,
\r
+ /
(?:^| )\*(.*?)\*(?:$| )
/g,
\r
function(texte, capture) {
\r
return '<em class="fort">' + capture + '</em>';
\r
}
\r