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

[minor bug] duplicate names #15

Closed
martinandersen3d opened this issue Nov 5, 2020 · 2 comments
Closed

[minor bug] duplicate names #15

martinandersen3d opened this issue Nov 5, 2020 · 2 comments
Labels
bug Something isn't working needs investigation

Comments

@martinandersen3d
Copy link

when there is duplicate names, one will override the other.

image

I dont think it needs to be fixed (just an edgecase). Just want to report it.

@SjoerdV
Copy link
Owner

SjoerdV commented Nov 14, 2020

Hi @martinandersen3d are you sure about that? There is a routine that deals with duplicates in the script by appending '_[number]' to the exported markdown:

              # in case multiple pages with the same name exist in a section, postfix the filename
              if ([System.IO.File]::Exists("$($fullexportpathwithoutextension).md")) {
                $pagename = "$($pagename)_$recurrence"
                $recurrence++
              }

@SjoerdV
Copy link
Owner

SjoerdV commented Oct 21, 2021

Probably this is now fixed with #23. Could you please verify @martinandersen3d ?

@SjoerdV SjoerdV closed this as completed Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation
Projects
None yet
Development

No branches or pull requests

2 participants