infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Harner (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (INFRA-15986) Confluence "since" and "deprecated" macros give "Unknown macro: {div}" error
Date Sun, 11 Feb 2018 13:27:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-15986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16359941#comment-16359941
] 

Bob Harner edited comment on INFRA-15986 at 2/11/18 1:26 PM:
-------------------------------------------------------------

Mostly looks good. I have to re-edit the few that had wiki markup in their body, but that's
okay.

But two things:
# When I use the macros without a body at all then there is an awkward trailing vertical bar
(e.g., "Added in 5.3 |"). Is there a way to prevent that? Maybe use a <br> tag instead
of a | char? In the case of the "since" macro in particular there is hardly ever a reason
to have a body.


was (Author: bobharner):
Mostly looks good. I have to re-edit the few that had wiki markup in their body, but that's
okay.

But two things:
# When I use the macros without a body at all then there is an awkward trailing vertical bar
("Added in 5.3 |"). Is there a way to prevent that? Maybe use a <br> tag instead of
a | char? In the case of the "since" macro there is hardly ever a reason to have a body.

> Confluence "since" and "deprecated" macros give "Unknown macro: {div}" error
> ----------------------------------------------------------------------------
>
>                 Key: INFRA-15986
>                 URL: https://issues.apache.org/jira/browse/INFRA-15986
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Confluence
>            Reporter: Bob Harner
>            Assignee: Gavin
>            Priority: Minor
>
> For a long time now (maybe since the last major Confluence upgrade), the "since" and
"deprecated" macros (I think these are so-called "user macros") have been generating unsightly
"Unknown macro: {div}" errors on the wiki pages (and in exported static site pages).
> You can see the problem in the following page:
> https://cwiki.apache.org/confluence/display/TAPESTRY/Since+and+Deprecated+User+Macros
> (which exports to https://tapestry.apache.org/since-and-deprecated-user-macros.html )
> Apparently those macros use the undefined {div} macro internally. Maybe you could edit
those "since" and "deprecated" macros to use the {align} macro instead?  I think that's under
Confluence's General Configuration > User Macros
> Docs: https://confluence.atlassian.com/doc/writing-user-macros-4485.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message