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

Add html parsing on Cheerio #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ymkins
Copy link

@ymkins ymkins commented Dec 6, 2017

Add htmlSrc option to parse with cheerio for support nested html in translate and translate-attr directives.
For example:

<p translate="section.hint">
    <em>Word order</em>
    <a href="https://www.google.com/search?q='word+order+matters'">matters</a>.
</p>
<input type="text" class="form-control" id="mynameId" name="myname"
    translate-attr="{placeholder: 'section.placeholderMyname', title: 'section.titleMyname'}"
    placeholder="Name" title="Edit Name"
    ng-model="vm.myname" ng-required="true"
/>

@ymkins ymkins force-pushed the feature/cheerio branch 2 times, most recently from 51acd95 to 89312b4 Compare December 11, 2017 10:49
Add htmlSrc option to parse with Cheerio for support nested html in translate and translate-attr directives
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.

None yet

1 participant