On 20 Oct 2016, at 10:08, Vincent Massol
<vincent(a)massol.net> wrote:
On 20 Oct 2016, at 10:05, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
(%
class="plainmessage publish-message" %)((((%
class="glyphicon glyphicon-globe" %)$message)))
First this is not fully
correct. You need to close the span with (%%).
haaaaa!
It's like manage to scratch my back! so pleasurable!
I need to add that here:
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
You mean here:
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1&se…
(that’s the only place that needs fixing from what I see)
You want to send a PR?
Notes:
* It’s in
https://github.com/xwiki/xwiki-platform/blob/e750ba502ba3a73cec7357a4c8fbbc…
* It needs to be fixed in xwiki-platform for the EN language
* It needs to be updated on l10n for other languages (French, etc).
Thanks
-Vincent
Thanks
-Vincent
> <div
>> class="plainmessage publish-message">
>>> <p>
>>> <span
>> class="glyphicon glyphicon-globe">This article
>> was published on 17/10/2016 16:47:06</span>
>>> </p>
>>>
>> </div>
>>>
>>>
>> => span inserted BUT I don't want end of span at the
>> end of the $message
>>
>> Normally you should have tried this:
>>
>> (% class="plainmessage
>> publish-message" %)((((% class="glyphicon
>> glyphicon-globe" %)(%%)$message)))
>>
>> But it won’t work because the span is
>> empty.
>>
>> So you have 2
>> options:
>> - option 1: you insert some
>> character in the space like a space (you’ll get
>> in the output though)
>
> yes I confirm this. I have in html output) with
> (% class="plainmessage publish-message" %)((((% class="glyphicon
glyphicon-globe" %) (%%)$message)))
>
>> - option 2: you use
>> the html macro.
>>
>> It seems
>> from your need that you’re trying to output some specific
>> custom HTML so best is to use the html macro for that.
>> You’ll have better control with it.
>
> yes but I "improved" blog macro: I will commit it this week i think
>
> ty