diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b64a2f2..1f88dca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -71,13 +71,3 @@ jobs: asset_path: ./manifest.json asset_name: manifest.json asset_content_type: application/json - - name: Upload styles.css - id: upload-styles - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./styles.css - asset_name: styles.css - asset_content_type: text/css diff --git a/manifest.json b/manifest.json index cb4ba52..db17cc1 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-tts", "name": "Text to Speech", - "version": "0.3.3", + "version": "0.3.4", "minAppVersion": "0.12.0", "description": "Text to speech for Obsidian. Hear your notes.", "author": "Johannes Theiner", diff --git a/package.json b/package.json index 1fcf519..a35d9b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-tts", - "version": "0.3.3", + "version": "0.3.4", "description": "Text to speech for Obsidian. Hear your notes.", "main": "main.js", "scripts": { diff --git a/src/TTSService.ts b/src/TTSService.ts index 0a91a2b..5e067f6 100644 --- a/src/TTSService.ts +++ b/src/TTSService.ts @@ -39,6 +39,8 @@ export class TTSService { content = content.replace(/-/g, ""); content = content.replace(/_/g, ""); content = content.replace(/\*/g, ""); + content = content.replace(/\^/g, ""); + content = content.replace(/==/g, ""); } if (!this.plugin.settings.speakLinks) { //regex from https://stackoverflow.com/a/37462442/5589264 diff --git a/versions.json b/versions.json index 132a75b..e67ea06 100644 --- a/versions.json +++ b/versions.json @@ -2,5 +2,6 @@ "0.1.0": "0.9.12", "0.2.0": "0.9.12", "0.3.2": "0.12.0", - "0.3.3": "0.12.0" + "0.3.3": "0.12.0", + "0.3.4": "0.12.0" }