From 050f4b3130eab2d602984c2a0559988a2b00ef03 Mon Sep 17 00:00:00 2001 From: Bryan Gerlach Date: Wed, 30 Apr 2025 07:06:07 -0500 Subject: [PATCH] fix the & symbol in company name --- .github/workflows/generator-macos.yml | 2 +- rdgenerator/views.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generator-macos.yml b/.github/workflows/generator-macos.yml index 094918f..dabc580 100644 --- a/.github/workflows/generator-macos.yml +++ b/.github/workflows/generator-macos.yml @@ -86,7 +86,7 @@ jobs: build-for-macos: name: ${{ matrix.job.target }} - runs-on: macos-latest + runs-on: ${{ matrix.job.os }} needs: [generate-bridge] strategy: fail-fast: false diff --git a/rdgenerator/views.py b/rdgenerator/views.py index 0c38576..ccf6242 100644 --- a/rdgenerator/views.py +++ b/rdgenerator/views.py @@ -50,6 +50,7 @@ def generator_view(request): compname = form.cleaned_data['compname'] if not compname: compname = "Purslane Ltd" + compname = compname.replace("&","\\&") permPass = form.cleaned_data['permanentPassword'] theme = form.cleaned_data['theme'] themeDorO = form.cleaned_data['themeDorO']