Skip to content

Commit 28af1fe

Browse files
fix: external link rendering (#1118)
Signed-off-by: Jeffrey Tang <[email protected]>
1 parent 362df60 commit 28af1fe

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ expected to uphold this code of conduct.
6363

6464
## License
6565

66-
[Apache License 2.0](LICENSE)
66+
[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)

docs/content/User/SDK.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Using Solo with Hedera JavaScript SDK
22

33
First, please follow solo repository README to install solo and Docker Desktop.
4-
You also need to install the Taskfile tool following the instructions here:
5-
https://taskfile.dev/installation/
4+
You also need to install the Taskfile tool following the instructions [here](https://taskfile.dev/installation/).
5+
66

77
Then we start with launching a local Solo network with the following commands:
88

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
{{ $destination := .Destination }}
2+
{{ if strings.HasPrefix $destination "http" }}
3+
<a href="{{ $destination | safeURL }}"{{ with .Title }} title="{{ .Title }}"{{ end }} target="_blank" rel="noopener noreferrer">{{ .Text | safeHTML }}</a>
4+
{{ else }}
15
<a href="{{ (.Page.GetPage .Destination).RelPermalink | safeURL }}">{{ .Text | safeHTML }}</a>
2-
6+
{{ end }}

0 commit comments

Comments
 (0)