A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/posthtml-textr below:

posthtml-textr - npm

var posthtml = require('posthtml'),

    html = '<article class="my-article"><h1>Hello  "world"...\n</h1><p>foo...bar</p></article>';

 

posthtml()

    .use(require('posthtml-textr')(

        { locale: 'ru'},

        [

            require('typographic-ellipses'),

            require('typographic-single-spaces'),

            require('typographic-quotes')

        ]

    ))

    .process(html)

    .then(function(result) {

        console.log(result.html);

        

    })


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4