Code Monkey home page Code Monkey logo

Comments (2)

winmillwill avatar winmillwill commented on August 23, 2024

The problem is here: https://github.com/rstacruz/sparkup/blob/master/sparkup.py#L847

I understand that all html elements are lowercase, but I don't understand how anyone would accidentally type them uppercase.

If we want to support xml as a dialect, then shouldn't we just allow the user to set the case of the element characters however they want?

A slight advantage would be to allow more and more xml dialects where html for example would compare your tag to a dictionary of supported elements, and perhaps help syntastic warn you, and similar for Ant or Maven files or Apache config files.

In any case, random xml can have a tag named whatever, so I'd like that to be supported first.

from sparkup.

faceleg avatar faceleg commented on August 23, 2024

There is a good possibility that you will be the only one using this plugin who wants this feature.

We accept pull requests.

from sparkup.

Related Issues (20)

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.