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

category::form_tree() doesn't close <li> and <ul> tags. #905

Closed
jetherton opened this issue Oct 23, 2012 · 3 comments
Closed

category::form_tree() doesn't close <li> and <ul> tags. #905

jetherton opened this issue Oct 23, 2012 · 3 comments
Assignees

Comments

@jetherton
Copy link
Collaborator

Not only are the closing tags for

  • completely left out for both parent and child levels, the logic of the function is wrong, and thus will never close the last
      tag either. Good thing modern browsers are so smart.

  • @ghost ghost assigned jetherton Oct 23, 2012
    jetherton added a commit that referenced this issue Oct 23, 2012
    … <ul> tags. I added the missing </li> tags and fixed the program logic so the last </ul> tag is also added. I also made the output HTML pretty. It made debugging a lot easier.
    @jetherton
    Copy link
    Collaborator Author

    Closed.

    rjmackay added a commit to rjmackay/Ushahidi_Web that referenced this issue Oct 23, 2012
    These were removed by ushahidi#905. Now leaving in both classes and IDs
    Also removing windows style new lines
    @rjmackay
    Copy link
    Contributor

    Good catch. Somehow I haven't missed that all the times I've messed with the category helper lately.

    However you also reverted the change to add classes to category columns instead of IDs.. just readded that.
    Also remove the windows style new lines, as most of the code base is all unix new lines

    @jetherton
    Copy link
    Collaborator Author

    Thanks for catching that. I was working on a 2.5 install that had zero
    tolerance for malformed HTML, so I probably copied something over with
    out realizing the error.

    On 10/23/2012 02:20 PM, Robbie MacKay wrote:

    Good catch. Somehow I haven't missed that all the times I've messed
    with the category helper lately.

    However you also reverted the change to add classes to category
    columns instead of IDs.. just readded that.


    Reply to this email directly or view it on GitHub
    #905 (comment).

    rjmackay pushed a commit to labb/Ushahidi_Web that referenced this issue Dec 12, 2012
    …<li> and <ul> tags. I added the missing </li> tags and fixed the program logic so the last </ul> tag is also added. I also made the output HTML pretty. It made debugging a lot easier.
    rjmackay added a commit to labb/Ushahidi_Web that referenced this issue Dec 12, 2012
    These were removed by ushahidi#905. Now leaving in both classes and IDs
    Also removing windows style new lines
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants