Coder Social home page Coder Social logo

j0s3f / tidy-html5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from htacg/tidy-html5

1.0 4.0 0.0 1.36 MB

Experimental fork of Tidy for HTML5 documents

Home Page: http://w3c.github.com/tidy-html5/

License: Other

Shell 0.56% C 94.54% C++ 0.30% JavaScript 2.85% CSS 0.92% XSLT 0.81% Ruby 0.02%

tidy-html5's Introduction

HTML Tidy for HTML5 (experimental)

This repo is an experimental fork of the code from tidy.sourceforge.net. This source code in this version supports processing of HTML5 documents. The changes for HTML5 support started from a patch developed by Björn Höhrmann.

For more information, see w3c.github.com/tidy-html5

Building the tidy command-line tool

For Linux/BSD/OSX platforms, you can build and install the tidy command-line tool from the source code using the following steps.

  1. make -C build/gmake/

  2. make install -C build/gmake/

Note that you will either need to run make install as root, or with sudo make install.

On Windows, open and compile the project in build/msvc or build/msvc2010 with Visual Studio.

Building the libtidy shared library

For Linux/BSD/OSX platforms, you can build and install the tidylib shared library (for use in building other applications) from the source code using the following steps.

  1. sh build/gnuauto/setup.sh && ./configure && make

  2. make install

Note that you will either need to run make install as root, or with sudo make install.

On Windows, open and compile the project in build/msvc or build/msvc2010 with Visual Studio.

tidy-html5's People

Contributors

andrewle avatar antonioherraizs avatar azuisleet avatar craigbarnes avatar dontcallmedom avatar e98cuenc avatar ermshiperete avatar j0s3f avatar jay avatar johnweldon avatar petdance avatar pitulloz avatar saadatm avatar sideshowbarker avatar stevenle avatar thieso2 avatar user-none avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

tidy-html5's Issues

Integrate pending Pull request from main w3c/tidy-html5

As this repository seems to be quite active compare to the main one who hasn't be updated for now 2 years, is it possible to integrate here all the pending request that starts to accumulate ?

If you do so (which would be really great), it may be interesting to change the README to explain this, and to put a message on w3c/tidy-html5 to tell people to put pull request/issue in your repo.

Feature request: support for template scripts

I there! I'm expecting this problem...
Using angularjs I need to embed html templates like this:

<script id="dashboard.html" type="text/ng-template">
    // html content
<script>

Tidy processes the html content it as if it would be javascript code instead of html (or 'ng-template')... could you fix this somehow? For example discriminating between "text/ng-template" and "text/javascript" strings...

Thank you in advance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.