Skip to content

Commit

Permalink
Revert "Improve README branding and links (#1074)" (#1080)
Browse files Browse the repository at this point in the history
This reverts commit 1f107e4.
  • Loading branch information
aaronmondal authored Jul 5, 2024
1 parent 1f107e4 commit 2bdd9bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
15 changes: 2 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
# NativeLink

<p align="center">
<a href="https://www.nativelink.com">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tracemachina/nativelink/main/docs/src/assets/logo-dark.svg"/>
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tracemachina/nativelink/main/docs/src/assets/logo-light.svg"/>
<img alt="NativeLink" src="https://raw.githubusercontent.com/tracemachina/nativelink/main/docs/src/assets/logo-light.svg"/>
</picture>
</a>
</p>

[![Homepage](https://img.shields.io/badge/Homepage-8A2BE2)](https://nativelink.com)
[![GitHub stars](https://img.shields.io/github/stars/tracemachina/nativelink?style=social)](https://github.com/TraceMachina/nativelink)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/TraceMachina/nativelink/badge)](https://securityscorecards.dev/viewer/?uri=github.com/TraceMachina/nativelink)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8050/badge)](https://www.bestpractices.dev/projects/8050)
[![Slack](https://img.shields.io/badge/slack--channel-blue?logo=slack)](https://nativelink.slack.com/join/shared_invite/zt-281qk1ho0-krT7HfTUIYfQMdwflRuq7A#/shared-invite/email)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

NativeLink is an extremely (blazingly?) fast and efficient build cache and
remote executor for systems that communicate using the [Remote execution
Expand Down
7 changes: 1 addition & 6 deletions docs/scripts/md_to_mdx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,12 +198,7 @@ export function preProcessMarkdown(markdown: string): string {
continue;
}

const htmlTagPattern = /<[^>]*>/g;
if (htmlTagPattern.test(line)) {
processedLines.push(line);
} else {
processedLines.push(line.replace(/</g, "&lt;").replace(/>/g, "&gt;"));
}
processedLines.push(line.replace(/</g, "&lt;").replace(/>/g, "&gt;"));
}

return processedLines.join("\n");
Expand Down

0 comments on commit 2bdd9bd

Please sign in to comment.