8000 HTML tags in strings · Issue #212 · scelis/twine · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
HTML tags in strings #212
Closed
Closed
@jpm-polymorph

Description

@jpm-polymorph
  • Twine version: unknown - from gem install - 0.10.1 according to generated files

  • Minimal input file (test-twine.txt)

[[Uncategorized]]
  [teststring]
    en = This is a <b>bold</b> html test.
  [testescaped]
    en = `An <b>escaped</b> html string.`
  • Exact twine command that's being run
    twine generate-localization-file test-twine.txt strings.xml --lang en

  • Generated output

<?xml version="1.0" encoding="utf-8"?>
<!-- Android Strings File -->
<!-- Generated by Twine 0.10.1 -->
<!-- Language: en -->
<resources>
	<!-- SECTION: Uncategorized -->
	<string name="teststring">This is a &lt;b>bold&lt;/b> html test.</string>
	<string name="testescaped">An &lt;b>escaped&lt;/b> html string.</string>
</resources>
  • Expected output
<string name="teststring">This is a &lt;b>bold&lt;/b> html test.</string>
<string name="testescaped">An <b>escaped</b> html string.</string>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0