Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Why is page displaying the code?

Henry Simon October 7, 2021

Hello,

I think this should be easy for the experts to answer. My old page "menubar" uses the "menu" macro to show 2 links. I'm trying to recreate that page without using the "menu" macro. I put in the code on a new page "menubar1" and the new page just displays my code instead of the 2 links.

menubar.JPG

menubar1.JPG

 

 

What am I doing wrong? Thank you.

2 answers

1 accepted

1 vote
Answer accepted
Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 7, 2021

Hi @Henry Simon 

Which "menubar" macro do you mean, I'm not aware that there is a such a macro.

To your question:

Confluence is a richtext editor. You should not use HTML Code to display Text and Links, you can set the Text and Link directly in the editor without using HTML Code.

Henry Simon October 8, 2021

Hi Dominic,

The menu macro is from Themebuilder and Themebuilder deprecated the menu macros so I'm trying to recreate the page without using the menu macro.

I knew I was missing something very obvious. You just reminded me that I can create the bullet and link using the editor. I've been so focused on fixing all these deprecated macros that I forgot about the rich text editor. When I go into the editor, I head straight to the macros. Thank you for the reminder!

Like Dominic Lagger likes this
0 votes
Rolf Okken October 7, 2021

HTML macros are disabled by default

The HTML macro will only be available if it has been enabled by an administrator. Enabling these macros can make your Confluence site vulnerable to cross-site scripting attacks.

 

https://confluence.atlassian.com/doc/html-macro-38273085.html

Henry Simon October 8, 2021

Thanks Rolf.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events