Menu

HTML entities in TextFX

2007-07-06
2012-11-14
  • Nobody/Anonymous

    Hello

    I would like to suggest a function for TextFX plugin that i consider would be really useful.

    It would pick and convert every non-ASCII character into their HTML entity.

    As an example, it would convert ñ, é, Ö, etc into ñ, é, Ö, etc.

    Thanks!

     
    • Nobody/Anonymous

      I think the option "Autoconvert typed HTML/XML to &entities;" should do the trick, unfortunately it also convers returns in <br /> as well....

       
      • Nobody/Anonymous

        Hi,

        Is it possible to convert _selected_ entities, instead of just ones that are typed? For instance, if I am pasting the "á" character into a document, I would like to select it, and convert it to the entity value: "&aacute;". There is currently an option in "TextFX Convert" to "Encode HTML", but that only works on a few characters (<>&"). I would like the ability to convert a selected character as per the following W3C character/entity listing:

        http://www.w3.org/TR/REC-html40/sgml/entities.html

        If this cannot be a built in feature, would it be possible to allow for a configuration file, where the user can add their preferred character/entity references?

         
        • Nobody/Anonymous

          You can use the HTMLTag plugin:
          This plug-in provides two core functions to Notepad++:
          - HTML and XML tag matching, like the built-in brace matching (Ctrl+B / Shift+Ctrl+B)
          - HTML entity encoding/decoding (example: é to &eacute; and vice versa)

          The interesting thing is that you can customize the tags in the ini file.

          The official site: https://sourceforge.net/project/showfiles.php?group_id=189927&package_id=242320

          Att.,

          --
          Rafael Mussi