This is for Confluence 3.4 I've got a user macro that contains an ordinary link to a page, eg [contact me|key:Contact page]. The macro is defined as 'no body' and output format of wiki markup.
There is no line break inside the macro. It should render like this:
For more info, contact me. Furthermore, blah blah.
But instead, it renders like this, which messes up my paragraph:
For more info, contact me.
Furthermore, blah blah.
How can I get rid of the invisible line break?
I've found for things like this, sometimes it's best to use jQuery to strip out tags that you don't want, after the page has been rendered. Here's an example that removes the text from the livesearch input field.
<script>
AJS.toInit(function(){ AJS.$('.plugin_livesearch_textfieldbox input').val(''); }); </script>
I'm pretty sure you could apply this technique to remove anything in the DOM that you want.
HTH,
matthew horn
http://tech.groups.yahoo.com/group/confluence_users/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, Matthew. I only just noticed your answer (my bad!). I'll try that.
I've also noticed that this problem seems to be fixed in 4.2 (according to a comment on this page: https://confluence.atlassian.com/display/DOC/Confluence+4.0+Editor+-+Customer+Feedback)
(Not that I'll be able to take advantage of it. Until they bring back wiki markup or integrate an editor that's less horrible than editing raw XHTML, I'm unlikely to abandon 3.x).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure thing. BTW, there's a new plugin for 4.2 that will allow editing the markup directly, although I haven't tried it yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.