Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.

fix: remove license headers in markdown files - #273

Merged
dandhlee merged 4 commits into
mainfrom
strip_licenses
Jan 30, 2023
Merged

dandhlee merged 4 commits into
mainfrom
strip_licenses

Conversation

@dandhlee

Copy link
Copy Markdown
Contributor

At some point, the license headers were being carried over into the actual content of Markdown files. Titles were being extracted correctly, but any leftover license headers were causing rendering issues. Removing only the license headers on Markdown files, if they're present.

Updated unit tests & goldens.

Fixes b/266951751.

  • Tests pass

@dandhlee
dandhlee requested review from a team January 27, 2023 21:25
@product-auto-label product-auto-label Bot added the size: l Pull request size is large. label Jan 27, 2023
@dandhlee
dandhlee merged commit a4c808f into main Jan 30, 2023
@dandhlee
dandhlee deleted the strip_licenses branch January 30, 2023 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants