Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PageTree Macro: Root / Title is always "@self" and cannot be modified #550

Closed
DreadPirateShawn opened this issue Jan 14, 2025 · 0 comments
Closed
Labels

Comments

@DreadPirateShawn
Copy link
Contributor

What happened?

The ac:pagetree macro implementation has a minor bug that prevents the Root / Title value from being modified.

What did you expect to happen?

Root / TItle value should be used when provided.

How can we reproduce the behavior you experienced?

<!-- Macro: :demo:
     Template: ac:pagetree
     Title '@home' -->

:demo:

Further Information (please complete the following information)

  • Mark Version: mark version 11.3.0
  • Mark Parameters: mark --config ~/.mark --space foo -f filename.md
  • Confluence Hosting: Cloud
  • Confluence Version: "latest", as of 2025.01 (cloud doesn't really expose this to us clearly)
  • Environment specific Information: repro using brew version of mark on Mac OS

Logs or other output

n/a

Additional context

Related PR: #329
Buggy line of code: https://github.com/kovetskiy/mark/blob/c5d0a8b/stdlib/stdlib.go#L389

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant