[GRASS-git] [OSGeo/grass] 378834: db/MySQL: fix HTML manual nested <ul></ul> element...

Tomas Zigo noreply at github.com
Thu Nov 28 05:37:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 378834b8c90bb770f8a40dd2ac6c371b4e083b03
      https://github.com/OSGeo/grass/commit/378834b8c90bb770f8a40dd2ac6c371b4e083b03
  Author: Tomas Zigo <50632337+tmszi at users.noreply.github.com>
  Date:   2024-11-28 (Thu, 28 Nov 2024)

  Changed paths:
    M db/drivers/mysql/grass-mysql.html

  Log Message:
  -----------
  db/MySQL: fix HTML manual nested <ul></ul> element position (#4778)

* db/MySQL: fix HTML manual nested `<ul></ul>` element position

Fix `HTMLParser()` class instance find nested `<ul>` end element `</ul>`
error during compilation GRASS GIS source code:

```
Error (IndexError('pop from empty list'))
```

Problematic is nested `<ul></ul>` HTML element inside parent `<ul></ul>`
element:

```
 <ul>
     <li></li>
     <li></li>
      <ul>
          <li></li>
          <li></li>
          <li></li>
      </ul>
 </ul>
```

Expected nested `<ul></ul>` HTML element inside parent `<ul></ul>` is
nested position inside `<li></li>` element.

```
<ul>
    <li></li>
    <li>
        <ul>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </li>
</ul>
```

* Fix typo of key word



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list