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

Handle bad file names. #132

Merged
merged 1 commit into from Jul 18, 2023
Merged

Handle bad file names. #132

merged 1 commit into from Jul 18, 2023

Conversation

kaj
Copy link
Owner

@kaj kaj commented Jul 18, 2023

More ways to create a working rust symbol name from a "strange" static file name. Illegal characters are replaced by _, and if the file name starts with a number it is prefixed with n.

Fixes #82 .

More ways to create a working rust symbol name from a "strange" static
file name.  Illegal characters are replaced by `_`, and if the file
name starts with a number it is prefixed with `n`.
@kaj kaj merged commit bbb98c6 into master Jul 18, 2023
54 checks passed
@kaj kaj deleted the number_files branch July 18, 2023 18:49
kaj added a commit that referenced this pull request Jul 22, 2023
* Added a check that no more than one of the http-types, mime02, or
  mime03 features are enabled (PR #124).  Thanks @rustafarian-dev.
* Changed the writer type from `W: &mut Write` to just `W: Write` (PR #125).
  Thanks @kornelski!
* Fixed handling of `MULTI_WORD_CONSTANTS` in templates (Issue #129, PR #130).
  Thanks @wezm!
* More ways to create a working rust symbol name from a "strange"
  static file name.  Illegal characters are replaced by `_`, and if
  the file name starts with a number it is prefixed with `n` (Issue
  #82, PR #132).  Thanks @Aedius for reporting!
* Fixed more clippy lints (PR #123, #127).  Thanks @vbrandl!
* Updated `rsass` to 0.28.0 and `itertools` to 0.11.0.
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.

static file cant start with a number
1 participant