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

fixes link urls when multiple rounded brackets are used #417

Closed
wants to merge 1 commit into from

Conversation

grueni
Copy link

@grueni grueni commented Oct 6, 2023

fixes link urls when multiple rounded brackets are used fixes #200

fixes link urls when multiple rounded brackets are used
fixes EvotecIT#200
@PrzemyslawKlys
Copy link
Member

Thank you. Need to test it. Looks like a simple change.

@PrzemyslawKlys
Copy link
Member

Hi,

This doesn't seem to work on:

Import-Module .\PSWriteHTML.psd1 -Force


New-HTML {
    New-HTMLText -Text @(
        "This is a string with [SomeURL](https://evotec.xyz) and this isn't. "
        "This is more complicated [URL](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/dn535495(v=ws.11)) with double () and it doesn't work properly "
        "More URLs in one line  [SomeURL](https://evotec.xyz) and and [SomeURL](https://evotec.xyz)."
    )
    New-HTMLText -Text @(
        "[Attacking Read-Only Domain Controllers (RODCs) to Own Active Directory](https://adsecurity.org/?p=3592)"
    )
} -ShowHTML

2nd link still doesn't open up

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

Successfully merging this pull request may close these issues.

URL building based on the markdown approach works for most cases, but not all
2 participants