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

fix passing of literal backslash #16671

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

w-e-w
Copy link
Collaborator

@w-e-w w-e-w commented Nov 21, 2024

Description

in that PR I forgot to account for literal escape character \\ (double backslash)
\\ or even number of \\ like \\\\ is literal \ and not be treated as escape character

\\ - literal character '\'

Screenshots/videos:

current after #16669
notice that it dose not cycle between error and pass as \ is added

2024-11-21.09_25_36_210.chrome.mp4

this PR
correctly psychos between error and pass as \ is added

2024-11-21.09_21_09_816.chrome.mp4

Checklist:

@catboxanon catboxanon merged commit 023454b into dev Nov 21, 2024
6 checks passed
Panchovix added a commit to Panchovix/stable-diffusion-webui-reForge that referenced this pull request Nov 21, 2024
bluelovers added a commit to bluelovers/stable-diffusion-webui that referenced this pull request Nov 26, 2024
* dev-a1111:
  fix passing of literal backslash (AUTOMATIC1111#16671)
  fix prompt-bracket-checker miscounting of literal tokens (AUTOMATIC1111#16669)
  Bump safetensors to v0.4.5
  Honor lossless webp compression option in API
  use shared.hf_endpoint (AUTOMATIC1111#16611)
  Warn if WebUI is installed under a dot directory (AUTOMATIC1111#16584)
  sd_xl_v.yaml: use_checkpoint = False
  XYZ option to disable grid (AUTOMATIC1111#16416)
  Fix Default system None filter logic (AUTOMATIC1111#16309)
  Fix weighting config for SDXL v-pred
  InputAccordion duplicate elem_id handling (AUTOMATIC1111#16381)
  addEventListener {passive: false} (AUTOMATIC1111#16575)
  pyenv-win compatibility - another approach (AUTOMATIC1111#16287)
  Disable Hires checkpoint if same as First pass checkpoint (AUTOMATIC1111#16269)
  Fix postprocessing_enable_in_main_ui ScriptPostprocessing elem_id (AUTOMATIC1111#16373)
  extra_only / main_ui_only ScriptPostprocessing (AUTOMATIC1111#16374)
  Allow newline in Extra Network activation text (AUTOMATIC1111#16428)
  image embedding data cache (AUTOMATIC1111#16556)
  Fix typo
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.

2 participants